!function(c){c.flexslider=function(u,t){var d=c(u),p=c.extend({},c.flexslider.defaults,t),r=p.namespace,a="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,n=a?"touchend":"click",f="vertical"===p.direction,m=p.reverse,g=0'),1':""+e+"",d.controlNavScaffold.append("
  • "+t+"
  • "),e++;d.controlsContainer?c(d.controlsContainer).append(d.controlNavScaffold):d.append(d.controlNavScaffold),h.controlNav.set(),h.controlNav.active(),d.controlNavScaffold.delegate("a, img",n,function(t){t.preventDefault();t=c(this);var e=d.controlNav.index(t);t.hasClass(r+"active")||(d.direction=e>d.currentSlide?"next":"prev",d.flexAnimate(e,p.pauseOnAction))}),a&&d.controlNavScaffold.delegate("a","click touchstart",function(t){t.preventDefault()})},setupManual:function(){d.controlNav=d.manualControls,h.controlNav.active(),d.controlNav.live(n,function(t){t.preventDefault();t=c(this);var e=d.controlNav.index(t);t.hasClass(r+"active")||(e>d.currentSlide?d.direction="next":d.direction="prev",d.flexAnimate(e,p.pauseOnAction))}),a&&d.controlNav.live("click touchstart",function(t){t.preventDefault()})},set:function(){d.controlNav=c("."+r+"control-nav li "+("thumbnails"===p.controlNav?"img":"a"),d.controlsContainer?d.controlsContainer:d)},active:function(){d.controlNav.removeClass(r+"active").eq(d.animatingTo).addClass(r+"active")},update:function(t,e){1"+d.count+"")):1===d.pagingCount?d.controlNavScaffold.find("li").remove():d.controlNav.eq(e).closest("li").remove(),h.controlNav.set(),1
  • '+p.prevText+'
  • '+p.nextText+"
  • ");d.controlsContainer?(c(d.controlsContainer).append(t),d.directionNav=c("."+r+"direction-nav li a",d.controlsContainer)):(d.append(t),d.directionNav=c("."+r+"direction-nav li a",d)),h.directionNav.update(),d.directionNav.bind(n,function(t){t.preventDefault(),t=c(this).hasClass(r+"next")?d.getTarget("next"):d.getTarget("prev"),d.flexAnimate(t,p.pauseOnAction)}),a&&d.directionNav.bind("click touchstart",function(t){t.preventDefault()})},update:function(){var t=r+"disabled";1===d.pagingCount?d.directionNav.addClass(t):p.animationLoop?d.directionNav.removeClass(t):0===d.animatingTo?d.directionNav.removeClass(t).filter("."+r+"prev").addClass(t):d.animatingTo===d.last?d.directionNav.removeClass(t).filter("."+r+"next").addClass(t):d.directionNav.removeClass(t)}},pausePlay:{setup:function(){var t=c('
    ');d.controlsContainer?(d.controlsContainer.append(t),d.pausePlay=c("."+r+"pauseplay a",d.controlsContainer)):(d.append(t),d.pausePlay=c("."+r+"pauseplay a",d)),h.pausePlay.update(p.slideshow?r+"pause":r+"play"),d.pausePlay.bind(n,function(t){t.preventDefault(),c(this).hasClass(r+"pause")?(d.manualPause=!0,d.manualPlay=!1,d.pause()):(d.manualPause=!1,d.manualPlay=!0,d.play())}),a&&d.pausePlay.bind("click touchstart",function(t){t.preventDefault()})},update:function(t){"play"===t?d.pausePlay.removeClass(r+"pause").addClass(r+"play").text(p.playText):d.pausePlay.removeClass(r+"play").addClass(r+"pause").text(p.pauseText)}},touch:function(){function i(t){l=f?s-t.touches[0].pageY:s-t.touches[0].pageX,(!(c=f?Math.abs(l)a/2)?d.flexAnimate(e,p.pauseOnAction):v||d.flexAnimate(d.currentSlide,p.pauseOnAction,!0)}u.removeEventListener("touchend",n,!1),r=l=o=s=null}var s,o,r,a,l,h,c=!1;u.addEventListener("touchstart",function(t){d.animating?t.preventDefault():1===t.touches.length&&(d.pause(),a=f?d.h:d.w,h=Number(new Date),r=g&&m&&d.animatingTo===d.last?0:g&&m?d.limit-(d.itemW+p.itemMargin)*d.move*d.animatingTo:g&&d.currentSlide===d.last?d.limit:g?(d.itemW+p.itemMargin)*d.move*d.currentSlide:m?(d.last-d.currentSlide+d.cloneOffset)*a:(d.currentSlide+d.cloneOffset)*a,s=f?t.touches[0].pageY:t.touches[0].pageX,o=f?t.touches[0].pageX:t.touches[0].pageY,u.addEventListener("touchmove",i,!1),u.addEventListener("touchend",n,!1))},!1)},resize:function(){!d.animating&&d.is(":visible")&&(g||d.doMath(),v?h.smoothHeight():g?(d.slides.width(d.computedW),d.update(d.pagingCount),d.setProps()):f?(d.viewport.height(d.h),d.setProps(d.h,"setTotal")):(p.smoothHeight&&h.smoothHeight(),d.newSlides.width(d.computedW),d.setProps(d.computedW,"setTotal")))},smoothHeight:function(t){if(!f||v){var e=v?d:d.viewport;t?e.animate({height:d.slides.eq(d.animatingTo).height()},t):e.height(d.slides.eq(d.animatingTo).height())}},sync:function(t){var e=c(p.sync).data("flexslider"),i=d.animatingTo;switch(t){case"animate":e.flexAnimate(i,p.pauseOnAction,!1,!0);break;case"play":!e.playing&&!e.asNav&&e.play();break;case"pause":e.pause()}}},d.flexAnimate=function(t,e,i,n,s){if(l&&1===d.pagingCount&&(d.direction=d.currentItemd.w?2*p.itemMargin:p.itemMargin,t=(t=(d.itemW+t)*d.move*d.animatingTo)>d.limit&&1!==d.visible?d.limit:t):t=0===d.currentSlide&&t===d.count-1&&p.animationLoop&&"next"!==d.direction?m?(d.count+d.cloneOffset)*o:0:d.currentSlide===d.last&&0===t&&p.animationLoop&&"prev"!==d.direction?m?0:(d.count+1)*o:m?(d.count-1-t+d.cloneOffset)*o:(t+d.cloneOffset)*o,d.setProps(t,"",p.animationSpeed),d.transitions?(p.animationLoop&&d.atEnd||(d.animating=!1,d.currentSlide=d.animatingTo),d.container.unbind("webkitTransitionEnd transitionend"),d.container.bind("webkitTransitionEnd transitionend",function(){d.wrapup(o)})):d.container.animate(d.args,p.animationSpeed,p.easing,function(){d.wrapup(o)})}p.smoothHeight&&h.smoothHeight(p.animationSpeed)}},d.wrapup=function(t){!v&&!g&&(0===d.currentSlide&&d.animatingTo===d.last&&p.animationLoop?d.setProps(t,"jumpEnd"):d.currentSlide===d.last&&0===d.animatingTo&&p.animationLoop&&d.setProps(t,"jumpStart")),d.animating=!1,d.currentSlide=d.animatingTo,p.after(d)},d.animateSlides=function(){d.animating||d.flexAnimate(d.getTarget("next"))},d.pause=function(){clearInterval(d.animatedSlides),d.playing=!1,p.pausePlay&&h.pausePlay.update("play"),d.syncExists&&h.sync("pause")},d.play=function(){d.animatedSlides=setInterval(d.animateSlides,p.slideshowSpeed),d.playing=!0,p.pausePlay&&h.pausePlay.update("pause"),d.syncExists&&h.sync("play")},d.canAdvance=function(t,e){var i=l?d.pagingCount-1:d.last;return!!e||(!(!l||d.currentItem!==d.count-1||0!==t||"prev"!==d.direction)||(!l||0!==d.currentItem||t!==d.pagingCount-1||"next"===d.direction)&&(!(t===d.currentSlide&&!l)&&(!!p.animationLoop||(!d.atEnd||0!==d.currentSlide||t!==i||"next"===d.direction)&&(!d.atEnd||d.currentSlide!==i||0!==t||"next"!==d.direction))))},d.getTarget=function(t){return"next"===(d.direction=t)?d.currentSlide===d.last?0:d.currentSlide+1:0===d.currentSlide?d.last:d.currentSlide-1},d.setProps=function(t,e,i){var n,s=t||(d.itemW+p.itemMargin)*d.move*d.animatingTo;n=-1*function(){if(g)return"setTouch"===e?t:m&&d.animatingTo===d.last?0:m?d.limit-(d.itemW+p.itemMargin)*d.move*d.animatingTo:d.animatingTo===d.last?d.limit:s;switch(e){case"setTotal":return m?(d.count-1-d.currentSlide+d.cloneOffset)*t:(d.currentSlide+d.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return m?t:d.count*t;case"jumpStart":return m?d.count*t:t;default:return t}}()+"px",d.transitions&&(n=f?"translate3d(0,"+n+",0)":"translate3d("+n+",0,0)",i=void 0!==i?i/1e3+"s":"0s",d.container.css("-"+d.pfx+"-transition-duration",i)),d.args[d.prop]=n,(d.transitions||void 0===i)&&d.container.css(d.args)},d.setup=function(t){var e,i;v?(d.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(a?d.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+p.animationSpeed/1e3+"s ease",zIndex:1}).eq(d.currentSlide).css({opacity:1,zIndex:2}):d.slides.eq(d.currentSlide).fadeIn(p.animationSpeed,p.easing)),p.smoothHeight&&h.smoothHeight()):("init"===t&&(d.viewport=c('
    ').css({overflow:"hidden",position:"relative"}).appendTo(d).append(d.container),d.cloneCount=0,d.cloneOffset=0,m&&(i=c.makeArray(d.slides).reverse(),d.slides=c(i),d.container.empty().append(d.slides))),p.animationLoop&&!g&&(d.cloneCount=2,d.cloneOffset=1,"init"!==t&&d.container.find(".clone").remove(),d.container.append(d.slides.first().clone().addClass("clone")).prepend(d.slides.last().clone().addClass("clone"))),d.newSlides=c(p.selector,d),e=m?d.count-1-d.currentSlide+d.cloneOffset:d.currentSlide+d.cloneOffset,f&&!g?(d.container.height(200*(d.count+d.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){d.newSlides.css({display:"block"}),d.doMath(),d.viewport.height(d.h),d.setProps(e*d.h,"init")},"init"===t?100:0)):(d.container.width(200*(d.count+d.cloneCount)+"%"),d.setProps(e*d.computedW,"init"),setTimeout(function(){d.doMath(),d.newSlides.css({width:d.computedW,float:"left",display:"block"}),p.smoothHeight&&h.smoothHeight()},"init"===t?100:0)));g||d.slides.removeClass(r+"active-slide").eq(d.currentSlide).addClass(r+"active-slide")},d.doMath=function(){var t=d.slides.first(),e=p.itemMargin,i=p.minItems,n=p.maxItems;d.w=d.width(),d.h=t.height(),d.boxPadding=t.outerWidth()-t.width(),g?(d.itemT=p.itemWidth+e,d.minW=i?i*d.itemT:d.w,d.maxW=n?n*d.itemT:d.w,d.itemW=d.minW>d.w?(d.w-e*i)/i:d.maxWd.w?d.w:p.itemWidth,d.visible=Math.floor(d.w/(d.itemW+e)),d.move=0d.w?(d.itemW+2*e)*d.count-d.w-e:(d.itemW+e)*d.count-d.w-e):(d.itemW=d.w,d.pagingCount=d.count,d.last=d.count-1),d.computedW=d.itemW-d.boxPadding},d.update=function(t,e){d.doMath(),g||(td.controlNav.length?h.controlNav.update("add"):("remove"===e&&!g||d.pagingCountd.last&&(d.currentSlide-=1,d.animatingTo-=1),h.controlNav.update("remove",d.last))),p.directionNav&&h.directionNav.update()},d.addSlide=function(t,e){var i=c(t);d.count+=1,d.last=d.count-1,f&&m?void 0!==e?d.slides.eq(d.count-e).after(i):d.container.prepend(i):void 0!==e?d.slides.eq(e).before(i):d.container.append(i),d.update(e,"add"),d.slides=c(p.selector+":not(.clone)",d),d.setup(),p.added(d)},d.removeSlide=function(t){var e=isNaN(t)?d.slides.index(c(t)):t;d.count-=1,d.last=d.count-1,isNaN(t)?c(t,d.slides).remove():f&&m?d.slides.eq(d.last).remove():d.slides.eq(t).remove(),d.doMath(),d.update(e,"remove"),d.slides=c(p.selector+":not(.clone)",d),d.setup(),p.removed(d)},h.init()},c.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"slide",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,pauseOnAction:!0,pauseOnHover:!1,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:0,maxItems:0,move:0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){}},c.fn.flexslider=function(i){if(void 0===i&&(i={}),"object"==typeof i)return this.each(function(){var t=c(this),e=t.find(i.selector?i.selector:".slides > li");1===e.length?(e.fadeIn(400),i.start&&i.start(t)):null==t.data("flexslider")&&new c.flexslider(this,i)});var t=c(this).data("flexslider");switch(i){case"play":t.play();break;case"pause":t.pause();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof i&&t.flexAnimate(i,!0)}}}(jQuery),function(l){l.fn.visible=function(t,e){var i=l(this).eq(0),n=i.get(0),s=l(window),o=s.scrollTop();s=o+s.height();var r=i.offset().top,a=r+i.height();return i=!0===t?a:r,r=!0===t?r:a,!!(!0!==e||n.offsetWidth*n.offsetHeight)&&r<=s&&o<=i}}(jQuery),jQuery(window).load(function(){jQuery("body").hasClass("smooth-scroll")&&function(){function o(){if(!A&&document.body){A=!0;var t=document.body,e=document.documentElement,i=window.innerHeight,n=t.scrollHeight;if(O=0<=document.compatMode.indexOf("CSS")?e:t,y=t,C.keyboardSupport&&f("keydown",a),top!=self)P=!0;else if(Q&&i=C.animationTime,l=a?1:r/C.animationTime;C.pulseAlgorithm&&(l=1<=(u=l)?1:u<=0?0:(1==C.pulseNormalize&&(C.pulseNormalize/=_(1)),_(u)));var h=o.x*l-o.lastX>>0,c=o.y*l-o.lastY>>0;i+=h,n+=c,o.lastX+=h,o.lastY+=c,a&&(R.splice(s,1),s--)}var u;m?window.scrollBy(i,n):(i&&(d.scrollLeft+=i),n&&(d.scrollTop+=n)),p||f||(R=[]),R.length?H(g,d,1e3/C.frameRate+1):L=!1};H(g,d,0),L=!0}}function t(t){A||o();var e=t.target;if(t.defaultPrevented||t.ctrlKey)return!0;if(m(y,"embed")||m(e,"embed")&&/\.pdf/i.test(e.src)||m(y,"object")||e.shadowRoot)return!0;var i=-t.wheelDeltaX||t.deltaX||0,n=-t.wheelDeltaY||t.deltaY||0;M&&(t.wheelDeltaX&&g(t.wheelDeltaX,120)&&(i=t.wheelDeltaX/Math.abs(t.wheelDeltaX)*-120),t.wheelDeltaY&&g(t.wheelDeltaY,120)&&(n=t.wheelDeltaY/Math.abs(t.wheelDeltaY)*-120)),i||n||(n=-t.wheelDelta||0),1===t.deltaMode&&(i*=40,n*=40);var s=u(e);return s?!!function(t){if(t)return D.length||(D=[t,t,t]),t=Math.abs(t),D.push(t),D.shift(),clearTimeout(b),b=setTimeout(function(){try{localStorage.SS_deltaBuffer=D.join(",")}catch(t){}},1e3),!v(120)&&!v(100)}(n)||(1.2x

    ',e.appendChild(n.childNodes[1])}return t&&s.extend(i,t),this.each(function(){var t=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];i.customSelector&&t.push(i.customSelector);var n=".fitvidsignore";i.ignore&&(n=n+", "+i.ignore);var e=s(this).find(t.join(","));(e=(e=e.not("object object")).not(n)).each(function(){var t=s(this);if(!(0').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),t.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function(o){o.fn.niceSelect=function(){this.hide(),this.each(function(){var t=o(this);if(!t.next().hasClass("nice-select")){t.after(o("
    ").addClass("nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html('
      '));var n=t.next(),e=t.find("option"),i=t.find("option:selected");n.find(".current").html(i.data("display")||i.text()),e.each(function(t){var e=o(this),i=e.data("display");n.find("ul").append(o("
    • ").attr("data-value",e.val()).attr("data-display",i||null).addClass("option"+(e.is(":selected")?" selected":"")+(e.is(":disabled")?" disabled":"")).html(e.text()))})}}),o(document).off(".nice_select"),o(document).on("click.nice_select",".nice-select",function(t){var e=o(this);o(".nice-select").not(e).removeClass("open"),e.toggleClass("open"),e.hasClass("open")?(e.find(".option"),e.find(".focus").removeClass("focus"),e.find(".selected").addClass("focus")):e.focus()}),o(document).on("click.nice_select",function(t){0===o(t.target).closest(".nice-select").length&&o(".nice-select").removeClass("open").find(".option")}),o(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(t){var e=o(this),i=e.closest(".nice-select");i.find(".selected").removeClass("selected"),e.addClass("selected");var n=e.data("display")||e.text();i.find(".current").text(n),i.prev("select").val(e.data("value")).trigger("change")}),o(document).on("keydown.nice_select",".nice-select",function(t){var e=o(this),i=o(e.find(".focus")||e.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return e.hasClass("open")?i.trigger("click"):e.trigger("click"),!1;if(40==t.keyCode){if(e.hasClass("open")){var n=i.nextAll(".option:not(.disabled)").first();0",a)||this.op(e,"<",r)&&this.op(e,">",a))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.settings.center&&(this.$stage.children(".center").removeClass("center"),this.$stage.children().eq(this.current()).addClass("center"))}}],h.prototype.initialize=function(){var t,e,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:o,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t));this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+' class="'+this.settings.stageClass+'"/>').wrap('
      '),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this.$element.is(":visible")?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},h.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,i=-1,n=null;t?(l.each(t,function(t){t<=e&&i").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},h.prototype.update=function(){for(var t=0,e=this._pipe.length,i=l.proxy(function(t){return this[t]},this._invalidated),n={};t",r[t+1]||e-o)&&(s="left"===n?t+1:t),-1===s},this)),this.settings.loop||(this.op(i,">",r[this.minimum()])?s=i=this.minimum():this.op(i,"<",r[this.maximum()])&&(s=i=this.maximum())),s},h.prototype.animate=function(t){var e=0r/2&&(s+=-1*o*r),(n=(((t=i+s)-a)%r+r)%r+a)!==t&&n-s<=l&&0":return n?t=":return n?t<=i:i<=t;case"<=":return n?i<=t:t<=i}},h.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},h.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},h.prototype.trigger=function(t,e,i,n,s){var o={item:{count:this._items.length,index:this.current()}},r=l.camelCase(l.grep(["on",t,i],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",i||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},o,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:h.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[r]&&this.settings[r].call(this,a)),a},h.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===o&&(this._states.current[e]=0),this._states.current[e]++},this))},h.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},h.prototype.register=function(i){if(i.type===h.Type.Event){if(l.event.special[i.name]||(l.event.special[i.name]={}),!l.event.special[i.name].owl){var e=l.event.special[i.name]._default;l.event.special[i.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1
      ',i=l.lazyLoad?'
      ':'
      ',e.after(i),e.after('
      ')};if(e.wrap('
      "),this._core.settings.lazyLoad&&(r="data-src",a="owl-lazy"),o.length)return h(o.attr(r)),o.remove(),!1;"youtube"===t.type?(n="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",h(n)):"vimeo"===t.type?c.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,h(n)}}):"vzaar"===t.type&&c.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,h(n)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(t){var e,i=c(t.target).closest("."+this._core.settings.itemClass),n=this._videos[i.attr("data-video")],s=n.width||"100%",o=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),i=this._core.items(this._core.relative(i.index())),this._core.reset(i.index()),"youtube"===n.type?e='':"vimeo"===n.type?e='':"vzaar"===n.type&&(e=''),c('
      '+e+"
      ").insertAfter(i.find(".owl-video")),this._playing=i.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&c(t).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},c.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,window,document),function(r,t,e,i){var n=function(t){this.core=t,this.core.options=r.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":r.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":r.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&r.support.animation&&r.support.transition){this.core.speed(0);var t,e=r.proxy(this.clear,this),i=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),s=this.core.settings.animateIn,o=this.core.settings.animateOut;this.core.current()!==this.previous&&(o&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),i.one(r.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(o)),s&&n.one(r.support.animation.end,e).addClass("animated owl-animated-in").addClass(s))}},n.prototype.clear=function(t){r(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},r.fn.owlCarousel.Constructor.Plugins.Animate=n}(window.Zepto||window.jQuery,window,document),function(i,n,s,t){var e=function(t){this._core=t,this._timeout=null,this._paused=!1,this._handlers={"changed.owl.carousel":i.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._core.settings.autoplay&&this._setAutoPlayInterval()},this),"initialized.owl.carousel":i.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":i.proxy(function(t,e,i){t.namespace&&this.play(e,i)},this),"stop.owl.autoplay":i.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=i.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype.play=function(t,e){this._paused=!1,this._core.is("rotating")||(this._core.enter("rotating"),this._setAutoPlayInterval())},e.prototype._getNextTimeout=function(t,e){return this._timeout&&n.clearTimeout(this._timeout),n.setTimeout(i.proxy(function(){this._paused||this._core.is("busy")||this._core.is("interacting")||s.hidden||this._core.next(e||this._core.settings.autoplaySpeed)},this),t||this._core.settings.autoplayTimeout)},e.prototype._setAutoPlayInterval=function(){this._timeout=this._getNextTimeout()},e.prototype.stop=function(){this._core.is("rotating")&&(n.clearTimeout(this._timeout),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&(this._paused=!0)},e.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(o,t,e,i){"use strict";var n=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('
      '+o(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
      ")},this),"added.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":o.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=o.extend({},n.Defaults,this._core.options),this.$element.on(this._handlers)};n.Defaults={nav:!1,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},n.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?o(i.navContainer):o("
      ").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=o("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",o.proxy(function(t){this.prev(i.navSpeed)},this)),this._controls.$next=o("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",o.proxy(function(t){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[o("
      ").addClass(i.dotClass).append(o("")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?o(i.dotsContainer):o("
      ").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","div",o.proxy(function(t){var e=o(t.target).parent().is(this._controls.$absolute)?o(t.target).index():o(t.target).parent().index();t.preventDefault(),this.to(e,i.dotsSpeed)},this)),this._overrides)this._core[t]=o.proxy(this[t],this)},n.prototype.destroy=function(){var t,e,i,n;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},n.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,s=this._core.maximum(!0),o=this._core.settings,r=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0;t=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!e.dots||i),e.dots&&(t=this._pages.length-this._controls.$absolute.children().length,e.dotsData&&0!==t?this._controls.$absolute.html(this._templates.join("")):0=i},this)).pop()},n.prototype.getPosition=function(t){var e,i,n=this._core.settings;return"page"==n.slideBy?(e=o.inArray(this.current(),this._pages),i=this._pages.length,t?++e:--e,e=this._pages[(e%i+i)%i].start):(e=this._core.relative(this._core.current()),i=this._core.items().length,t?e+=n.slideBy:e-=n.slideBy),e},n.prototype.next=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},n.prototype.prev=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},n.prototype.to=function(t,e,i){var n;!i&&this._pages.length?(n=this._pages.length,o.proxy(this._overrides.to,this._core)(this._pages[(t%n+n)%n].start,e)):o.proxy(this._overrides.to,this._core)(t,e)},o.fn.owlCarousel.Constructor.Plugins.Navigation=n}(window.Zepto||window.jQuery,window,document),function(n,s,t,e){"use strict";var i=function(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":n.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&n(s).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":n.proxy(function(t){if(t.namespace){var e=n(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!e)return;this._hashes[e]=t.content}},this),"changed.owl.carousel":n.proxy(function(t){if(t.namespace&&"position"===t.property.name){var i=this._core.items(this._core.relative(this._core.current())),e=n.map(this._hashes,function(t,e){return t===i?e:null}).join();if(!e||s.location.hash.slice(1)===e)return;s.location.hash=e}},this)},this._core.options=n.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers),n(s).on("hashchange.owl.navigation",n.proxy(function(t){var e=s.location.hash.substring(1),i=this._core.$stage.children(),n=this._hashes[e]&&i.index(this._hashes[e]);void 0!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)},this))};i.Defaults={URLhashListener:!1},i.prototype.destroy=function(){var t,e;for(t in n(s).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},n.fn.owlCarousel.Constructor.Plugins.Hash=i}(window.Zepto||window.jQuery,window,document),function(s,t,e,o){function i(t,i){var n=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return s.each((t+" "+a.join(e+" ")+e).split(" "),function(t,e){if(r[e]!==o)return n=!i||e,!1}),n}function n(t){return i(t,!0)}var r=s("").get(0).style,a="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},h=function(){return!!i("transform")},c=function(){return!!i("perspective")},u=function(){return!!i("animation")};(function(){return!!i("transition")})()&&(s.support.transition=new String(n("transition")),s.support.transition.end=l.transition.end[s.support.transition]),u()&&(s.support.animation=new String(n("animation")),s.support.animation.end=l.animation.end[s.support.animation]),h()&&(s.support.transform=new String(n("transform")),s.support.transform3d=c())}(window.Zepto||window.jQuery,window,document),function(){var e,i,t=[].indexOf||function(t){for(var e=0,i=this.length;es.oldScroll,i=e?s.forward:s.backward,l.each(n.waypoints[t],function(t,e){var i,n;return s.oldScroll<(i=e.offset)&&i<=s.newScroll?o.push(e):s.newScroll<(n=e.offset)&&n<=s.oldScroll?o.push(e):void 0}),o.sort(function(t,e){return t.offset-e.offset}),e||o.reverse(),l.each(o,function(t,e){if(e.options.continuous||t===o.length-1)return e.trigger([i])})}),this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},t.prototype.refresh=function(){var t,e,i,n=this;return i=l.isWindow(this.element),e=this.$element.offset(),this.doScroll(),t={horizontal:{contextOffset:i?0:e.left,contextScroll:i?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:i?0:e.top,contextScroll:i?0:this.oldScroll.y,contextDimension:i?l[_]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},l.each(t,function(t,a){return l.each(n.waypoints[t],function(t,e){var i,n,s,o,r;if(i=e.options.offset,s=e.offset,n=l.isWindow(e.element)?0:e.$element.offset()[a.offsetProp],l.isFunction(i)?i=i.apply(e.element):"string"==typeof i&&(i=parseFloat(i),-1(r=a.oldScroll)&&r>=e.offset?e.trigger([a.forward]):null===s&&a.oldScroll>=e.offset?e.trigger([a.forward]):void 0})})},t.prototype.checkEmpty=function(){if(l.isEmptyObject(this.waypoints.horizontal)&&l.isEmptyObject(this.waypoints.vertical))return this.$element.unbind([p,f].join(" ")),delete u[this.id]},t}(),a=function(){function t(t,e,i){var n,s;"bottom-in-view"===(i=l.extend({},l.fn[v].defaults,i)).offset&&(i.offset=function(){var t;return t=l[_]("viewportHeight"),l.isWindow(e.element)||(t=e.$element.height()),t-l(this).outerHeight()}),this.$element=t,this.element=t[0],this.axis=i.horizontal?"horizontal":"vertical",this.callback=i.handler,this.context=e,this.enabled=i.enabled,this.id="waypoints"+m++,this.offset=null,this.options=i,e.waypoints[this.axis][this.id]=this,h[this.axis][this.id]=this,(n=null!=(s=t.data(g))?s:[]).push(this.id),t.data(g,n)}return t.prototype.trigger=function(t){if(this.enabled)return null!=this.callback&&this.callback.apply(this.element,t),this.options.triggerOnce?this.destroy():void 0},t.prototype.disable=function(){return this.enabled=!1},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},t.prototype.destroy=function(){return delete h[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},t.getWaypointsByElement=function(t){var e,i;return(i=l(t).data(g))?(e=l.extend({},h.horizontal,h.vertical),l.map(i,function(t){return e[t]})):[]},t}(),n={init:function(t,s){return null==s&&(s={}),null==s.handler&&(s.handler=t),this.each(function(){var t,e,i,n;return t=l(this),i=null!=(n=s.context)?n:l.fn[v].defaults.context,l.isWindow(i)||(i=t.closest(i)),i=l(i),(e=u[i.data(c)])||(e=new r(i)),new a(t,e,s)}),l[_]("refresh"),this},disable:function(){return n._invoke(this,"disable")},enable:function(){return n._invoke(this,"enable")},destroy:function(){return n._invoke(this,"destroy")},prev:function(t,e){return n._traverse.call(this,t,e,function(t,e,i){if(0t.oldScroll.y})},left:function(t){return null==t&&(t=o),d._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){return null==t&&(t=o),d._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return d._invoke("enable")},disable:function(){return d._invoke("disable")},destroy:function(){return d._invoke("destroy")},extendFn:function(t,e){return n[t]=e},_invoke:function(i){var t;return t=l.extend({},h.vertical,h.horizontal),l.each(t,function(t,e){return e[i](),!0})},_filter:function(t,e,i){var n,s;return(n=u[l(t).data(c)])?(s=[],l.each(n.waypoints[e],function(t,e){if(i(n,e))return s.push(e)}),s.sort(function(t,e){return t.offset-e.offset}),l.map(s,function(t){return t.element})):[]}},l[_]=function(){var t,e;return e=arguments[0],t=2<=arguments.length?y.call(arguments,1):[],d[e]?d[e].apply(null,t):d.aggregate.call(null,e)},l[_].settings={resizeThrottle:100,scrollThrottle:30},e.load(function(){return l[_]("refresh")})},"function"==typeof define&&define.amd?define("waypoints",["jquery"],function(t){return i(t,e)}):i(e.jQuery,e)}.call(this),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(window.jQuery||window.Zepto)}(function(c){var u,n,d,s,p,e,l="Close",h="BeforeClose",f="MarkupParse",m="Open",g=".mfp",v="mfp-ready",i="mfp-removing",r="mfp-prevent-close",t=function(){},a=!!window.jQuery,_=c(window),y=function(t,e){u.ev.on("mfp"+t+g,e)},w=function(t,e,i,n){var s=document.createElement("div");return s.className="mfp-"+t,i&&(s.innerHTML=i),n?e&&e.appendChild(s):(s=c(s),e&&s.appendTo(e)),s},x=function(t,e){u.ev.triggerHandler("mfp"+t,e),u.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),u.st.callbacks[t]&&u.st.callbacks[t].apply(u,c.isArray(e)?e:[e]))},b=function(t){return t===e&&u.currTemplate.closeBtn||(u.currTemplate.closeBtn=c(u.st.closeMarkup.replace("%title%",u.st.tClose)),e=t),u.currTemplate.closeBtn},o=function(){c.magnificPopup.instance||((u=new t).init(),c.magnificPopup.instance=u)};t.prototype={constructor:t,init:function(){var t=navigator.appVersion;u.isLowIE=u.isIE8=document.all&&!document.addEventListener,u.isAndroid=/android/gi.test(t),u.isIOS=/iphone|ipad|ipod/gi.test(t),u.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),u.probablyMobile=u.isAndroid||u.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=c(document),u.popupsCache={}},open:function(t){var e;if(!1===t.isObj){u.items=t.items.toArray(),u.index=0;var i,n=t.items;for(e=0;e(t||_.height())},_setFocus:function(){(u.st.focus?u.content.find(u.st.focus).eq(0):u.wrap).focus()},_onFocusIn:function(t){if(t.target!==u.wrap[0]&&!c.contains(u.wrap[0],t.target))return u._setFocus(),!1},_parseMarkup:function(s,t,e){var o;e.data&&(t=c.extend(e.data,t)),x(f,[s,t,e]),c.each(t,function(t,e){if(void 0===e||!1===e)return!0;if(1<(o=t.split("_")).length){var i=s.find(g+"-"+o[0]);if(0").attr("src",e).attr("class",i.attr("class"))):i.attr(o[1],e)}}else s.find(g+"-"+t).html(e)})},_getScrollbarSize:function(){if(void 0===u.scrollbarSize){var t=document.createElement("div");t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),u.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return u.scrollbarSize}},c.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(t,e){return o(),(t=t?c.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return c.magnificPopup.instance&&c.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(c.magnificPopup.defaults[t]=e.options),c.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},c.fn.magnificPopup=function(t){o();var e=c(this);if("string"==typeof t)if("open"===t){var i,n=a?e.data("magnificPopup"):e[0].magnificPopup,s=parseInt(arguments[1],10)||0;n.items?i=n.items[s]:(i=e,n.delegate&&(i=i.find(n.delegate)),i=i.eq(s)),u._openClick({mfpEl:i},e,n)}else u.isOpen&&u[t].apply(u,Array.prototype.slice.call(arguments,1));else t=c.extend(!0,{},t),a?e.data("magnificPopup",t):e[0].magnificPopup=t,u.addGroup(e,t);return e};var T,S,C,k="inline",P=function(){C&&(S.after(C.addClass(T)).detach(),C=null)};c.magnificPopup.registerModule(k,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){u.types.push(k),y(l+"."+k,function(){P()})},getInline:function(t,e){if(P(),t.src){var i=u.st.inline,n=c(t.src);if(n.length){var s=n[0].parentNode;s&&s.tagName&&(S||(T=i.hiddenClass,S=w(T),T="mfp-"+T),C=n.after(S).detach().removeClass(T)),u.updateStatus("ready")}else u.updateStatus("error",i.tNotFound),n=c("
      ");return t.inlineElement=n}return u.updateStatus("ready"),u._parseMarkup(e,{},t),e}}});var E,A="ajax",O=function(){E&&c(document.body).removeClass(E)},D=function(){O(),u.req&&u.req.abort()};c.magnificPopup.registerModule(A,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){u.types.push(A),E=u.st.ajax.cursor,y(l+"."+A,D),y("BeforeChange."+A,D)},getAjax:function(s){E&&c(document.body).addClass(E),u.updateStatus("loading");var t=c.extend({url:s.src,success:function(t,e,i){var n={data:t,xhr:i};x("ParseAjax",n),u.appendContent(c(n.data),A),s.finished=!0,O(),u._setFocus(),setTimeout(function(){u.wrap.addClass(v)},16),u.updateStatus("ready"),x("AjaxContentAdded")},error:function(){O(),s.finished=s.loadError=!0,u.updateStatus("error",u.st.ajax.tError.replace("%url%",s.src))}},u.st.ajax.settings);return u.req=c.ajax(t),""}}});var M;c.magnificPopup.registerModule("image",{options:{markup:'
      ',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var t=u.st.image,e=".image";u.types.push("image"),y(m+e,function(){"image"===u.currItem.type&&t.cursor&&c(document.body).addClass(t.cursor)}),y(l+e,function(){t.cursor&&c(document.body).removeClass(t.cursor),_.off("resize"+g)}),y("Resize"+e,u.resizeImage),u.isLowIE&&y("AfterChange",u.resizeImage)},resizeImage:function(){var t=u.currItem;if(t&&t.img&&u.st.image.verticalFit){var e=0;u.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",u.wH-e)}},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,M&&clearInterval(M),t.isCheckingImgSize=!1,x("ImageHasSize",t),t.imgHidden&&(u.content&&u.content.removeClass("mfp-loading"),t.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],s=function(t){M&&clearInterval(M),M=setInterval(function(){0
      ',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){u.types.push(I),y("BeforeChange",function(t,e,i){e!==i&&(e===I?R():i===I&&R(!0))}),y(l+"."+I,function(){R()})},getIframe:function(t,e){var i=t.src,n=u.st.iframe;c.each(n.patterns,function(){if(-1',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var o=u.st.gallery,t=".mfp-gallery";if(u.direction=!0,!o||!o.enabled)return!1;p+=" mfp-gallery",y(m+t,function(){o.navigateByImgClick&&u.wrap.on("click"+t,".mfp-img",function(){if(1=u.index,u.index=t,u.updateItemHTML()},preloadNearbyImages:function(){var t,e=u.st.gallery.preload,i=Math.min(e[0],u.items.length),n=Math.min(e[1],u.items.length);for(t=1;t<=(u.direction?n:i);t++)u._preloadItem(u.index+t);for(t=1;t<=(u.direction?i:n);t++)u._preloadItem(u.index-t)},_preloadItem:function(t){if(t=L(t),!u.items[t].preloaded){var e=u.items[t];e.parsed||(e=u.parseEl(t)),x("LazyLoad",e),"image"===e.type&&(e.img=c('').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,x("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0}}}});var N="retina";c.magnificPopup.registerModule(N,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){if(1
      ');this._bodyOverflow=n("body").css("overflow"),navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&t.children().css({height:"110%",transform:"translateY(-5%)"}),n("body").append(i),n().add(i).add(t.find("a")).on("click",function(t){e.toggleNav()})},toggleNav:function(){this.$nav.fadeToggle(400),this.toggleBodyOverflow(),n().add(this.$hamburger).add(this.$nav).toggleClass("active")},toggleBodyOverflow:function(){var t=n("body");t.toggleClass("no-scroll");var e=t.hasClass("no-scroll");t.css("overflow",e?"":this._bodyOverflow)}}),void 0===n[s]&&(n[s]=function(t){return new i(this,t)})}(jQuery,window,document);var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var t,T,x,b,S,v,i,_,C,y,w,p,f,g,e;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(n,c,f){var m=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},g=function(t,e,i){f.call(this,t,e,i),this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=g.prototype.render},v=1e-10,_=f._internals,y=_.isSelector,w=_.isArray,t=g.prototype=f.to({},.1,{}),x=[];g.version="1.15.1",t.constructor=g,t.kill()._gc=!1,g.killTweensOf=g.killDelayedCallsTo=f.killTweensOf,g.getTweensOf=f.getTweensOf,g.lagSmoothing=f.lagSmoothing,g.ticker=f.ticker,g.render=f.render,t.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),f.prototype.invalidate.call(this)},t.updateTo=function(t,e){var i,n=this.ratio,s=this.vars.immediateRender||t.immediateRender;for(i in e&&this._startTime>0,0!==this._cycle&&this._cycle===this._totalTime/r&&this._cycle--,this._time=this._totalTime-this._cycle*r,this._yoyo&&0!=(1&this._cycle)&&(this._time=m-this._time),this._time>m?this._time=m:this._time<0&&(this._time=0)),this._easeType?(a=this._time/m,(1===(l=this._easeType)||3===l&&.5<=a)&&(a=1-a),3===l&&(a*=2),1===(h=this._easePower)?a*=a:2===h?a*=a*a:3===h?a*=a*a*a:4===h&&(a*=a*a*a*a),this.ratio=1===l?1-a:2===l?a:this._time/m<.5?a/2:1-a/2):this.ratio=this._ease.getRatio(this._time/m)),d!==this._time||i||f!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=d,this._totalTime=p,this._rawPrevTime=g,this._cycle=f,_.lazyTweens.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/m):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==d&&0<=t&&(this._active=!0),0===p&&(2===this._initted&&0this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},t.duration=function(t){return arguments.length?n.prototype.duration.call(this,t):this._duration},t.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},t.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},t.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},t.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},g},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(c,u,d){var p=function(t){u.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,i,n=this.vars;for(i in n)e=n[i],g(e)&&-1!==e.join("").indexOf("{self}")&&(n[i]=this._swapSelfInParams(e));g(n.tweens)&&this.add(n.tweens,0,n.align,n.stagger)},f=1e-10,t=d._internals,e=p._internals={},m=t.isSelector,g=t.isArray,v=t.lazyTweens,_=t.lazyRender,y=[],r=_gsScope._gsDefine.globals,w=function(t){var e,i={};for(e in t)i[e]=t[e];return i},o=e.pauseCallback=function(t,e,i,n){var s=t._timeline,o=s._totalTime;!e&&this._forcingPlayhead||s._rawPrevTime===t._startTime||(s.pause(t._startTime),e&&e.apply(n||s,i||y),this._forcingPlayhead&&s.seek(o))},x=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},i=p.prototype=new u;return p.version="1.15.1",i.constructor=p,i.kill()._gc=i._forcingPlayhead=!1,i.to=function(t,e,i,n){var s=i.repeat&&r.TweenMax||d;return e?this.add(new s(t,e,i),n):this.set(t,i,n)},i.from=function(t,e,i,n){return this.add((i.repeat&&r.TweenMax||d).from(t,e,i),n)},i.fromTo=function(t,e,i,n,s){var o=n.repeat&&r.TweenMax||d;return e?this.add(o.fromTo(t,e,i,n),s):this.set(t,n,s)},i.staggerTo=function(t,e,i,n,s,o,r,a){var l,h=new p({onComplete:o,onCompleteParams:r,onCompleteScope:a,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=d.selector(t)||t),m(t=t||[])&&(t=x(t)),(n=n||0)<0&&((t=x(t)).reverse(),n*=-1),l=0;t.length>l;l++)i.startAt&&(i.startAt=w(i.startAt)),h.to(t[l],e,w(i),l*n);return this.add(h,s)},i.staggerFrom=function(t,e,i,n,s,o,r,a){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,s,o,r,a)},i.staggerFromTo=function(t,e,i,n,s,o,r,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,s,o,r,a,l)},i.call=function(t,e,i,n){return this.add(d.delayedCall(0,t,e,i),n)},i.set=function(t,e,i){return i=this._parseTimeOrLabel(i,0,!0),null==e.immediateRender&&(e.immediateRender=i===this._time&&!this._paused),this.add(new d(t,0,e),i)},p.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var i,n,s=new p(t),o=s._timeline;for(null==e&&(e=!0),o._remove(s,!0),s._startTime=0,s._rawPrevTime=s._time=s._totalTime=o._time,i=o._first;i;)n=i._next,e&&i instanceof d&&i.target===i.vars.onComplete||s.add(i,i._startTime-i._delay),i=n;return o.add(s,0),s},i.add=function(t,e,i,n){var s,o,r,a,l,h;if("number"!=typeof e&&(e=this._parseTimeOrLabel(e,0,!0,t)),!(t instanceof c)){if(t instanceof Array||t&&t.push&&g(t)){for(i=i||"normal",n=n||0,s=e,o=t.length,r=0;rt._startTime;l._timeline;)h&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return this},i.remove=function(t){if(t instanceof c)return this._remove(t,!1);if(t instanceof Array||t&&t.push&&g(t)){for(var e=t.length;-1<--e;)this.remove(t[e]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},i._remove=function(t,e){u.prototype._remove.call(this,t,e);var i=this._last;return i?this._time>i._startTime+i._totalDuration/i._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},i.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},i.insert=i.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},i.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},i.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},i.addPause=function(t,e,i,n){var s=d.delayedCall(0,o,["{self}",e,i,n],this);return s.data="isPause",this.add(s,t)},i.removeLabel=function(t){return delete this._labels[t],this},i.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},i._parseTimeOrLabel=function(t,e,i,n){var s;if(n instanceof c&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&g(n)))for(s=n.length;-1<--s;)n[s]instanceof c&&n[s].timeline===this&&this.remove(n[s]);if("string"==typeof e)return this._parseTimeOrLabel(e,i&&"number"==typeof t&&null==this._labels[e]?t-this.duration():0,i);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=this.duration());else{if(-1===(s=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=this.duration()+e:e:this._labels[t]+e;e=parseInt(t.charAt(s-1)+"1",10)*Number(t.substr(s+1)),t=1f&&(r="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:f,t=l+1e-4):t<1e-7?(this._totalTime=this._time=0,(0!==h||0===this._duration&&this._rawPrevTime!==f&&(0=h)for(n=this._first;n&&(o=n._next,!this._paused||d);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;else for(n=this._last;n&&(o=n._prev,!this._paused||d);)(n._active||h>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;this._onUpdate&&(e||(v.length&&_(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||y))),r&&(this._gc||(c===this._startTime||u!==this._timeScale)&&(0===this._time||l>=this.totalDuration())&&(s&&(v.length&&_(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||y)))}},i._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof p&&t._hasPausedChild())return!0;t=t._next}return!1},i.getChildren=function(t,e,i,n){n=n||-9999999999;for(var s=[],o=this._first,r=0;o;)n>o._startTime||(o instanceof d?!1!==e&&(s[r++]=o):(!1!==i&&(s[r++]=o),!1!==t&&(r=(s=s.concat(o.getChildren(!0,e,i))).length))),o=o._next;return s},i.getTweensOf=function(t,e){var i,n,s=this._gc,o=[],r=0;for(s&&this._enabled(!0,!0),n=(i=d.getTweensOf(t)).length;-1<--n;)(i[n].timeline===this||e&&this._contains(i[n]))&&(o[r++]=i[n]);return s&&this._enabled(!1,!0),o},i.recent=function(){return this._recent},i._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},i.shiftChildren=function(t,e,i){i=i||0;for(var n,s=this._first,o=this._labels;s;)s._startTime>=i&&(s._startTime+=t),s=s._next;if(e)for(n in o)o[n]>=i&&(o[n]+=t);return this._uncache(!0)},i._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,s=!1;-1<--n;)i[n]._kill(t,e)&&(s=!0);return s},i.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},i.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return c.prototype.invalidate.call(this)},i._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return u.prototype._enabled.call(this,t,e)},i.totalTime=function(){this._forcingPlayhead=!0;var t=c.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,t},i.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},i.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,s=this._last,o=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>o&&this._sortChildren&&!s._paused?this.add(s,s._startTime-s._delay):o=s._startTime,s._startTime<0&&!s._paused&&(n-=s._startTime,this._timeline.smoothChildTiming&&(this._startTime+=s._startTime/this._timeScale),this.shiftChildren(-s._startTime,!1,-9999999999),o=0),n<(i=s._startTime+s._totalDuration/s._timeScale)&&(n=i),s=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},i.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===c._rootFramesTimeline},i.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},p},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(e,r,t){var i=function(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},S=1e-10,C=[],n=r._internals,k=n.lazyTweens,P=n.lazyRender,a=new t(null,null,1,0),s=i.prototype=new e;return s.constructor=i,s.kill()._gc=!1,i.version="1.15.1",s.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},s.addCallback=function(t,e,i,n){return this.add(r.delayedCall(0,t,i,n),e)},s.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,s=this._parseTimeOrLabel(e);-1<--n;)i[n]._startTime===s&&i[n]._enabled(!1,!1);return this},s.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},s.tweenTo=function(t,e){e=e||{};var i,n,s,o={ease:a,useFrames:this.usesFrames(),immediateRender:!1};for(n in e)o[n]=e[n];return o.time=this._parseTimeOrLabel(t),i=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,s=new r(this,i,o),o.onStart=function(){s.target.paused(!0),s.vars.time!==s.target.time()&&i===s.duration()&&s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale),e.onStart&&e.onStart.apply(e.onStartScope||s,e.onStartParams||C)},s},s.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],onCompleteScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(e,i);return n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},s.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,s,o,r,a,l,h=this._dirty?this.totalDuration():this._totalDuration,c=this._duration,u=this._time,d=this._totalTime,p=this._startTime,f=this._timeScale,m=this._rawPrevTime,g=this._paused,v=this._cycle;if(h<=t?(this._locked||(this._totalTime=h,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,r="onComplete",0===this._duration&&(0===t||m<0||m===S)&&m!==t&&this._first&&(a=!0,S>0,0!==this._cycle&&this._cycle===this._totalTime/l&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=c-this._time),this._time>c?t=(this._time=c)+1e-4:this._time<0?this._time=t=0:t=this._time))),this._cycle!==v&&!this._locked){var _=this._yoyo&&0!=(1&v),y=_===(this._yoyo&&0!=(1&this._cycle)),w=this._totalTime,x=this._cycle,b=this._rawPrevTime,T=this._time;if(this._totalTime=v*c,v>this._cycle?_=!_:this._totalTime+=c,this._time=u,this._rawPrevTime=0===c?m-1e-4:m,this._cycle=v,this._locked=!0,u=_?0:c,this.render(u,e,0===c),e||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||C),y&&(u=_?c+1e-4:-1e-4,this.render(u,!0,!1)),this._locked=!1,this._paused&&!g)return;this._time=T,this._totalTime=w,this._cycle=x,this._rawPrevTime=b}if(this._time!==u&&this._first||i||a){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==d&&0=u)for(n=this._first;n&&(o=n._next,!this._paused||g);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;else for(n=this._last;n&&(o=n._prev,!this._paused||g);)(n._active||u>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;this._onUpdate&&(e||(k.length&&P(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||C))),r&&(this._locked||this._gc||(p===this._startTime||f!==this._timeScale)&&(0===this._time||h>=this.totalDuration())&&(s&&(k.length&&P(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||C)))}else d!==this._totalTime&&this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||C))},s.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,s,o=[],r=this.getChildren(t,e,i),a=0,l=r.length;for(n=0;nt)return i[e].name;return null},s.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;-1<--i;)if(t>e[i].time)return e[i].name;return null},s.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},s.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},s.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},s.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(e.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},s.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},s.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},s.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},s.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},s.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},i},!0),T=180/Math.PI,x=[],b=[],S=[],v={},i=_gsScope._gsDefine.globals,_=function(t,e,i,n){this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},C=function(t,e,i,n){var s={a:t},o={},r={},a={c:n},l=(t+e)/2,h=(e+i)/2,c=(i+n)/2,u=(l+h)/2,d=(h+c)/2,p=(d-u)/8;return s.b=l+(t-l)/4,o.b=u+p,s.c=o.a=(s.b+o.b)/2,o.c=r.a=(u+d)/2,r.b=d-p,a.b=c+(n-c)/4,r.c=a.a=(r.b+a.b)/2,[s,o,r,a]},y=function(t,e,i,n,s){var o,r,a,l,h,c,u,d,p,f,m,g,v,_=t.length-1,y=0,w=t[0].a;for(o=0;o<_;o++)r=(h=t[y]).a,a=h.d,l=t[y+1].d,s?(m=x[o],v=.25*((g=b[o])+m)*e/(n?.5:S[o]||.5),d=a-((c=a-(a-r)*(n?.5*e:0!==m?v/m:0))+(((u=a+(l-a)*(n?.5*e:0!==g?v/g:0))-c)*(3*m/(m+g)+.5)/4||0))):d=a-((c=a-.5*(a-r)*e)+(u=a+.5*(l-a)*e))/2,c+=d,u+=d,h.c=p=c,h.b=0!==o?w:w=h.a+.6*(h.c-h.a),h.da=a-r,h.ca=p-r,h.ba=w-r,i?(f=C(r,w,p,a),t.splice(y,1,f[0],f[1],f[2],f[3]),y+=4):y++,w=u;(h=t[y]).b=w,h.c=w+.4*(h.d-w),h.da=h.d-h.a,h.ca=h.c-h.a,h.ba=w-h.a,i&&(f=C(h.a,w,h.c,h.d),t.splice(y,1,f[0],f[1],f[2],f[3]))},w=function(t,e,i,n){var s,o,r,a,l,h,c=[];if(n)for(o=(t=[n].concat(t)).length;-1<--o;)"string"==typeof(h=t[o][e])&&"="===h.charAt(1)&&(t[o][e]=n[e]+Number(h.charAt(0)+h.substr(2)));if((s=t.length-2)<0)return c[0]=new _(t[0][e],0,0,t[s<-1?0:1][e]),c;for(o=0;ot.length)throw"invalid Bezier data";for(u in t[0])v.push(u);for(l=v.length;-1<--l;){for(f[u=v[l]]=a=[],d=0,c=t.length,h=0;h>0||6)-1,u=[],d=[];for(i in t)f(t[i],r,e);for(s=r.length,n=0;n>0]=d,a[o]=h,l=0,d=[]);return{length:h,lengths:a,segments:u}}(this._beziers,this._timeRes);this._length=d.length,this._lengths=d.lengths,this._segments=d.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(u=this._autoRotate)for(this._initialRotations=[],u[0]instanceof Array||(this._autoRotate=u=[u]),o=u.length;-1<--o;){for(r=0;r<3;r++)n=u[o][r],this._func[n]="function"==typeof t[n]&&t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=u[o][2],this._initialRotations[o]=this._func[n]?this._func[n].call(this._target):this._target[n]}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,n,s,o,r,a,l,h,c,u=this._segCount,d=this._func,p=this._target,f=t!==this._startRatio;if(this._timeRes){if(h=this._lengths,c=this._curSeg,t*=this._length,n=this._li,t>this._l2&&n=(this._l2=h[++n]););this._l1=h[n-1],this._li=n,this._curSeg=c=this._segments[n],this._s2=c[this._s1=this._si=0]}else if(this._l1>t&&0=t;);0===n&&this._l1>t?this._l1=0:n++,this._l2=h[n],this._li=n,this._curSeg=c=this._segments[n],this._s1=c[(this._si=c.length-1)-1]||0,this._s2=c[this._si]}if(e=n,t-=this._l1,n=this._si,t>this._s2&&c.length-1>n){for(l=c.length-1;n=(this._s2=c[++n]););this._s1=c[n-1],this._si=n}else if(this._s1>t&&0=t;);0===n&&this._s1>t?this._s1=0:n++,this._s2=c[n],this._si=n}r=(n+(t-this._s1)/(this._s2-this._s1))*this._prec}else r=(t-(e=t<0?0:1<=t?u-1:u*t>>0)*(1/u))*u;for(i=1-r,n=this._props.length;-1<--n;)s=this._props[n],a=(r*r*(o=this._beziers[s][e]).da+3*i*(r*o.ca+i*o.ba))*r+o.a,this._round[s]&&(a=Math.round(a)),d[s]?p[s](a):p[s]=a;if(this._autoRotate){var m,g,v,_,y,w,x,b=this._autoRotate;for(n=b.length;-1<--n;)s=b[n][2],w=b[n][3]||0,x=!0===b[n][4]?1:T,o=this._beziers[b[n][0]],m=this._beziers[b[n][1]],o&&m&&(o=o[e],m=m[e],g=o.a+(o.b-o.a)*r,g+=((_=o.b+(o.c-o.b)*r)-g)*r,_+=(o.c+(o.d-o.c)*r-_)*r,v=m.a+(m.b-m.a)*r,v+=((y=m.b+(m.c-m.b)*r)-v)*r,y+=(m.c+(m.d-m.c)*r-y)*r,a=f?Math.atan2(y-v,_-g)*x+w:this._initialRotations[n],d[s]?p[s](a):p[s]=a)}}}),e=g.prototype,g.bezierThrough=p,g.cubicToQuadratic=C,g._autoCSS=!0,g.quadraticToCubic=function(t,e,i){return new _(t,(2*e+t)/3,(2*e+i)/3,i)},g._cssRegister=function(){var t=i.CSSPlugin;if(t){var e=t._internals,p=e._parseToProxy,f=e._setPluginRatio,m=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,i,n,s,o){e instanceof Array&&(e={values:e}),o=new g;var r,a,l,h=e.values,c=h.length-1,u=[],d={};if(c<0)return s;for(r=0;r<=c;r++)l=p(t,h[r],n,s,o,c!==r),u[r]=l.end;for(a in e)d[a]=e[a];return d.values=u,(s=new m(t,"bezier",0,0,l.pt,2)).data=l,s.plugin=o,s.setRatio=f,0===d.autoRotate&&(d.autoRotate=!0),!d.autoRotate||d.autoRotate instanceof Array||(r=!0===d.autoRotate?0:Number(d.autoRotate),d.autoRotate=null!=l.end.left?[["left","top","rotation",r,!1]]:null!=l.end.x&&[["x","y","rotation",r,!1]]),d.autoRotate&&(n._transform||n._enableTransforms(!1),l.autoRotate=n._target._gsTransform),o._onInitTween(l.proxy,d,n._tween),s}})}},e._roundProps=function(t,e){for(var i=this._overwriteProps,n=i.length;-1<--n;)(t[i[n]]||t.bezier||t.bezierThrough)&&(this._round[i[n]]=e)},e._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;-1<--i;)n[i]===e&&n.splice(i,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(o,d){var f,T,j,p,V=function(){o.call(this,"css"),this._overwriteProps.length=0,this.setRatio=V.prototype.setRatio},h=_gsScope._gsDefine.globals,m={},t=V.prototype=new o("css");(t.constructor=V).version="1.15.1",V.API=2,V.defaultTransformPerspective=0,V.defaultSkewType="compensated",t="px",V.suffixMap={top:t,right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};var k,g,v,M,_,C,e,i,P=/(?:\d|\-\d|\.\d|\-\.\d)+/g,E=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,y=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,c=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,A=/(?:\d|\-|\+|=|#|\.)*/g,O=/opacity *=*([^)]*)/i,w=/opacity:([^;]*)/i,r=/alpha\(opacity *=.+?\)/i,D=/^(rgb|hsl)/,a=/([A-Z])/g,l=/-([a-z])/gi,x=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,u=function(t,e){return e.toUpperCase()},b=/(?:Left|Right|Width)/i,q=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,z=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,R=Math.PI/180,U=180/Math.PI,S={},L=document,n=function(t){return L.createElementNS?L.createElementNS("http://www.w3.org/1999/xhtml",t):L.createElement(t)},F=n("div"),N=n("img"),s=V._internals={_specialProps:m},$=navigator.userAgent,B=(e=$.indexOf("Android"),i=n("a"),v=-1!==$.indexOf("Safari")&&-1===$.indexOf("Chrome")&&(-1===e||3>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ht[t]?ht[t]:"#"===t.charAt(0)?(4===t.length&&(t="#"+(e=t.charAt(1))+e+(i=t.charAt(2))+i+(n=t.charAt(3))+n),[(t=parseInt(t.substr(1),16))>>16,255&t>>8,255&t]):("hsl"===t.substr(0,3)?(t=t.match(P),s=Number(t[0])%360/360,o=Number(t[1])/100,e=2*(r=Number(t[2])/100)-(i=r<=.5?r*(o+1):r+o-r*o),3n;n++)s[n]=a(s[n]);return s.join(",")}if(e=(t.match(dt)||[l])[0],n=(i=t.split(e).join("").match(y)||[]).length,p>n--)for(;p>++n;)i[n]=o?i[0|(n-1)/2]:h[n];return c+i.join(d)+d+e+u+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,i,n;if("number"==typeof t)t+=f;else if(r&&I.test(t)){for(i=t.replace(I,"|").split("|"),n=0;i.length>n;n++)i[n]=a(i[n]);return i.join(",")}if(n=(e=t.match(y)||[]).length,p>n--)for(;p>++n;)e[n]=o?e[0|(n-1)/2]:h[n];return c+e.join(d)+u}:function(t){return t}},ft=function(h){return h=h.split(","),function(t,e,i,n,s,o,r){var a,l=(e+"").split(" ");for(r={},a=0;a<4;a++)r[h[a]]=l[a]=l[a]||l[(a-1)/2>>0];return n.parse(t,r,s,o)}},mt=(s._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,s,o=this.data,r=o.proxy,a=o.firstMPT;a;)e=r[a.v],a.r?e=Math.round(e):e<1e-6&&-1e-6n;n++)s+=i["xn"+n]+i["xs"+(n+1)];i.e=s}}else i.e=i.s+i.xs0;a=a._next}},function(t,e,i,n,s){this.t=t,this.p=e,this.v=i,this.r=s,n&&((n._prev=this)._next=n)}),gt=(s._parseToProxy=function(t,e,i,n,s,o){var r,a,l,h,c,u=n,d={},p={},f=i._transform,m=S;for(i._transform=null,S=e,n=c=i.parse(t,e,n,s),S=m,o&&(i._transform=f,u&&(u._prev=null,u._prev&&(u._prev._next=null)));n&&n!==u;){if(n.type<=1&&(p[a=n.p]=n.s+n.c,d[a]=n.s,o||(h=new mt(n,"s",a,h,n.r),n.c=0),1===n.type))for(r=n.l;0<--r;)l="xn"+r,p[a=n.p+"_"+l]=n.data[l],d[a]=n[l],o||(h=new mt(n,l,a,h,n.rxp[l]));n=n._next}return{proxy:d,end:p,firstMPT:h,pt:c}},s.CSSPropTween=function(t,e,i,n,s,o,r,a,l,h,c){this.t=t,this.p=e,this.s=i,this.c=n,this.n=r||e,t instanceof gt||p.push(this.n),this.r=a,this.type=o||0,l&&(this.pr=l,f=!0),this.b=void 0===h?i:h,this.e=void 0===c?i+n:c,s&&((this._next=s)._prev=this)}),vt=V.parseComplex=function(t,e,i,n,s,o,r,a,l,h){r=new gt(t,e,0,0,r,h?2:1,null,!1,a,i=i||o||"",n),n+="";var c,u,d,p,f,m,g,v,_,y,w,x,b=i.split(", ").join(",").split(" "),T=n.split(", ").join(",").split(" "),S=b.length,C=!1!==k;for((-1!==n.indexOf(",")||-1!==i.indexOf(","))&&(b=b.join(" ").replace(I,", ").split(" "),T=T.join(" ").replace(I,", ").split(" "),S=b.length),S!==T.length&&(S=(b=(o||"").split(" ")).length),r.plugin=l,r.setRatio=h,c=0;cu;u++)w=m[u],y=p.indexOf(w,d),r.appendXtra(p.substr(d,y-d),Number(w),rt(g[u],w),"",C&&"px"===p.substr(y+w.length,2),0===u),d=y+w.length;r["xs"+r.l]+=p.substr(d)}else r["xs"+r.l]+=r.l?" "+p:p;if(-1!==n.indexOf("=")&&r.data){for(x=r.xs0+r.data.s,c=1;r.l>c;c++)x+=r["xs"+c]+r.data["xn"+c];r.e=x+r["xs"+c]}return r.l||(r.type=-1,r.xs0=r.e),r.xfirst||r},_t=9;for((t=gt.prototype).l=t.pr=0;0<--_t;)t["xn"+_t]=0,t["xs"+_t]="";t.xs0="",t._next=t._prev=t.xfirst=t.data=t.plugin=t.setRatio=t.rxp=null,t.appendXtra=function(t,e,i,n,s,o){var r=this,a=r.l;return r["xs"+a]+=o&&a?" "+t:t||"",i||0===a||r.plugin?(r.l++,r.type=r.setRatio?2:1,r["xs"+r.l]=n||"",0n;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||o,new yt(s[n],e)},xt=function(t){if(!m[t]){var l=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";wt(t,{parser:function(t,e,i,n,s,o,r){var a=h.com.greensock.plugins[l];return a?(a._cssRegister(),m[i].parse(t,e,i,n,s,o,r)):(H("Error: "+l+" js file not loaded."),s)}})}};(t=yt.prototype).parseComplex=function(t,e,i,n,s,o){var r,a,l,h,c,u=this.keyword;if(this.multi&&(I.test(i)||I.test(e)?(a=e.replace(I,"|").split("|"),l=i.replace(I,"|").split("|")):u&&(a=[e],l=[i])),l){for(h=l.length>a.length?l.length:a.length,r=0;rr;r++)this.p.indexOf("border")&&(x[r]=Z(x[r])),-1!==(h=l=Q(t,x[r],j,!1,"0px")).indexOf(" ")&&(h=(l=h.split(" "))[0],l=l[1]),c=a=o[r],u=parseFloat(h),g=h.substr((u+"").length),(v="="===c.charAt(1))?(d=parseInt(c.charAt(0)+"1",10),c=c.substr(2),d*=parseFloat(c),m=c.substr((d+"").length-(d<0?1:0))||""):(d=parseFloat(c),m=c.substr((d+"").length)),""===m&&(m=T[i]||g),m!==g&&(_=K(t,"borderLeft",u,g),y=K(t,"borderTop",u,g),"%"===m?(h=_/p*100+"%",l=y/f*100+"%"):"em"===m?(h=_/(w=K(t,"borderLeft",1,"em"))+"em",l=y/w+"em"):(h=_+"px",l=y+"px"),v&&(c=parseFloat(h)+d+m,a=parseFloat(l)+d+m)),s=vt(b,x[r],h+" "+l,c+" "+a,!1,"0px",s);return s},prefix:!0,formatter:pt("0px 0px 0px 0px",!1,!0)}),wt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,s,o){var r,a,l,h,c,u,d="background-position",p=j||G(t,null),f=this.format((p?C?p.getPropertyValue(d+"-x")+" "+p.getPropertyValue(d+"-y"):p.getPropertyValue(d):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),m=this.format(e);if(-1!==f.indexOf("%")!=(-1!==m.indexOf("%"))&&((u=Q(t,"backgroundImage").replace(x,""))&&"none"!==u)){for(r=f.split(" "),a=m.split(" "),N.setAttribute("src",u),l=2;-1<--l;)(h=-1!==(f=r[l]).indexOf("%"))!==(-1!==a[l].indexOf("%"))&&(c=0===l?t.offsetWidth-N.width:t.offsetHeight-N.height,r[l]=h?parseFloat(f)/100*c+"px":parseFloat(f)/c*100+"%");f=r.join(" ")}return this.parseComplex(t.style,f,m,s,o)},formatter:ot}),wt("backgroundSize",{defaultValue:"0 0",formatter:ot}),wt("perspective",{defaultValue:"0px",prefix:!0}),wt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),wt("transformStyle",{prefix:!0}),wt("backfaceVisibility",{prefix:!0}),wt("userSelect",{prefix:!0}),wt("margin",{parser:ft("marginTop,marginRight,marginBottom,marginLeft")}),wt("padding",{parser:ft("paddingTop,paddingRight,paddingBottom,paddingLeft")}),wt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,s,o){var r,a,l;return C<9?(a=t.currentStyle,l=C<8?" ":",",r="rect("+a.clipTop+l+a.clipRight+l+a.clipBottom+l+a.clipLeft+")",e=this.format(e).split(",").join(l)):(r=this.format(Q(t,this.p,j,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,r,e,s,o)}}),wt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),wt("autoRound,strictUnits",{parser:function(t,e,i,n,s){return s}}),wt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,s,o){return this.parseComplex(t.style,this.format(Q(t,"borderTopWidth",j,!1,"0px")+" "+Q(t,"borderTopStyle",j,!1,"solid")+" "+Q(t,"borderTopColor",j,!1,"#000")),this.format(e),s,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(dt)||["#000"])[0]}}),wt("borderWidth",{parser:ft("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),wt("float,cssFloat,styleFloat",{parser:function(t,e,i,n,s){var o=t.style,r="cssFloat"in o?"cssFloat":"styleFloat";return new gt(o,r,0,0,s,-1,i,!1,0,o[r],e)}});var Ht=function(t){var e,i=this.t,n=i.filter||Q(this.data,"filter")||"",s=0|this.s+this.c*t;100===s&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!Q(this.data,"filter")):(i.filter=n.replace(r,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+s+")"),-1===n.indexOf("pacity")?0===s&&this.xn1||(i.filter=n+" alpha(opacity="+s+")"):i.filter=n.replace(O,"opacity="+s))};wt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,s,o){var r=parseFloat(Q(t,"opacity",j,!1,"1")),a=t.style,l="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+r),l&&1===r&&"hidden"===Q(t,"visibility",j)&&0!==e&&(r=0),B?s=new gt(a,"opacity",r,e-r,s):((s=new gt(a,"opacity",100*r,100*(e-r),s)).xn1=l?1:0,a.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=o,s.setRatio=Ht),l&&((s=new gt(a,"visibility",0,0,s,-1,null,!1,0,0!==r?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(s.n),n._overwriteProps.push(i)),s}});var Xt=function(t,e){e&&(t.removeProperty?("ms"===e.substr(0,2)&&(e="M"+e.substr(1)),t.removeProperty(e.replace(a,"-$1").toLowerCase())):t.removeAttribute(e))},Wt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Xt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};wt("className",{parser:function(t,e,i,n,s,o,r){var a,l,h,c,u,d=t.getAttribute("class")||"",p=t.style.cssText;if((s=n._classNamePT=new gt(t,i,0,0,s,2)).setRatio=Wt,s.pr=-11,f=!0,s.b=d,l=tt(t,j),h=t._gsClassPT){for(c={},u=h.data;u;)c[u.p]=1,u=u._next;h.setRatio(1)}return(t._gsClassPT=s).e="="!==e.charAt(1)?e:d.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),n._tween._duration&&(t.setAttribute("class",s.e),a=et(t,l,tt(t),r,c),t.setAttribute("class",d),s.data=a.firstMPT,t.style.cssText=p,s=s.xfirst=n.parse(t,a.difs,s,o)),s}});var jt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,s,o=this.t.style,r=m.transform.parse;if("all"===this.e)s=!(o.cssText="");else for(n=(e=this.e.split(" ").join("").split(",")).length;-1<--n;)i=e[n],m[i]&&(m[i].parse===r?s=!0:i="transformOrigin"===i?Ot:m[i].p),Xt(o,i);s&&(Xt(o,Et),this.t._gsTransform&&delete this.t._gsTransform)}};for(wt("clearProps",{parser:function(t,e,i,n,s){return(s=new gt(t,i,0,0,s,2)).setRatio=jt,s.e=e,s.pr=-10,s.data=n._tween,f=!0,s}}),t="bezier,throwProps,physicsProps,physics2D".split(","),_t=t.length;_t--;)xt(t[_t]);(t=V.prototype)._firstPT=t._lastParsedTransform=t._transform=null,t._onInitTween=function(t,e,i){if(!t.nodeType)return!1;this._target=t,this._tween=i,this._vars=e,k=e.autoRound,f=!1,T=e.suffixMap||V.suffixMap,j=G(t,""),p=this._overwriteProps;var n,s,o,r,a,l,h,c,u,d=t.style;if(g&&""===d.zIndex&&(("auto"===(n=Q(t,"zIndex",j))||""===n)&&this._addLazySet(d,"zIndex",0)),"string"==typeof e&&(r=d.cssText,n=tt(t,j),d.cssText=r+";"+e,n=et(t,n,tt(t)).difs,!B&&w.test(e)&&(n.opacity=parseFloat(RegExp.$1)),e=n,d.cssText=r),this._firstPT=s=this.parse(t,e,null),this._transformType){for(u=3===this._transformType,Et?v&&(g=!0,""===d.zIndex&&(("auto"===(h=Q(t,"zIndex",j))||""===h)&&this._addLazySet(d,"zIndex",0)),_&&this._addLazySet(d,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(u?"visible":"hidden"))):d.zoom=1,o=s;o&&o._next;)o=o._next;c=new gt(t,"transform",0,0,null,2),this._linkCSSP(c,null,o),c.setRatio=u&&Dt?Bt:Et?Yt:$t,c.data=this._transform||Nt(t,j,!0),p.pop()}if(f){for(;s;){for(l=s._next,o=r;o&&o.pr>s.pr;)o=o._next;(s._prev=o?o._prev:a)?s._prev._next=s:r=s,(s._next=o)?o._prev=s:a=s,s=l}this._firstPT=r}return!0},t.parse=function(t,e,i,n){var s,o,r,a,l,h,c,u,d,p,f=t.style;for(s in e)h=e[s],(o=m[s])?i=o.parse(t,h,s,this,i,n,e):(l=Q(t,s,j)+"",d="string"==typeof h,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||d&&D.test(h)?(d||(h=(3<(h=ut(h)).length?"rgba(":"rgb(")+h.join(",")+")"),i=vt(f,s,l,h,!0,"transparent",i,0,n)):!d||-1===h.indexOf(" ")&&-1===h.indexOf(",")?(c=(r=parseFloat(l))||0===r?l.substr((r+"").length):"",(""===l||"auto"===l)&&("width"===s||"height"===s?(r=st(t,s,j),c="px"):"left"===s||"top"===s?(r=J(t,s,j),c="px"):(r="opacity"!==s?0:1,c="")),(p=d&&"="===h.charAt(1))?(a=parseInt(h.charAt(0)+"1",10),h=h.substr(2),a*=parseFloat(h),u=h.replace(A,"")):(a=parseFloat(h),u=d?h.replace(A,""):""),""===u&&(u=s in T?T[s]:c),h=a||0===a?(p?a+r:a)+u:e[s],c!==u&&""!==u&&(a||0===a)&&r&&(r=K(t,s,r,c),"%"===u?(r/=K(t,s,100,"%")/100,!0!==e.strictUnits&&(l=r+"%")):"em"===u?r/=K(t,s,1,"em"):"px"!==u&&(a=K(t,s,a,u),u="px"),p&&(a||0===a)&&(h=a+r+u)),p&&(a+=r),!r&&0!==r||!a&&0!==a?void 0!==f[s]&&(h||"NaN"!=h+""&&null!=h)?(i=new gt(f,s,a||r||0,0,i,-1,s,!1,0,l,h)).xs0="none"!==h||"display"!==s&&-1===s.indexOf("Style")?h:l:H("invalid "+s+" tween value: "+e[s]):(i=new gt(f,s,r,a-r,i,0,s,!1!==k&&("px"===u||"zIndex"===s),0,l,h)).xs0=u):i=vt(f,s,l,h,!0,null,i,0,n)),n&&i&&!i.plugin&&(i.plugin=n);return i},t.setRatio=function(t){var e,i,n,s=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;s;){if(e=s.c*t+s.s,s.r?e=Math.round(e):e<1e-6&&-1e-6n;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(t);else s.t[s.p]=e+s.xs0;s=s._next}else for(;s;)2!==s.type?s.t[s.p]=s.b:s.setRatio(t),s=s._next;else for(;s;)2!==s.type?s.t[s.p]=s.e:s.setRatio(t),s=s._next},t._enableTransforms=function(t){this._transform=this._transform||Nt(this._target,j,!0),this._transformType=this._transform.svg&&bt||!t&&3!==this._transformType?2:3};var Vt=function(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};t._addLazySet=function(t,e,i){var n=this._firstPT=new gt(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=Vt,n.data=this},t._linkCSSP=function(t,e,i,n){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,n=!0),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},t._kill=function(t){var e,i,n,s=t;if(t.autoAlpha||t.alpha){for(i in s={},t)s[i]=t[i];s.opacity=1,s.autoAlpha&&(s.visibility=1)}return t.className&&(e=this._classNamePT)&&((n=e.xfirst)&&n._prev?this._linkCSSP(n._prev,e._next,n._prev._prev):n===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,n._prev),this._classNamePT=null),o.prototype._kill.call(this,s)};var qt=function(t,e,i){var n,s,o,r;if(t.slice)for(s=t.length;-1<--s;)qt(t[s],e,i);else for(s=(n=t.childNodes).length;-1<--s;)r=(o=n[s]).type,o.style&&(e.push(tt(o)),i&&i.push(o)),1!==r&&9!==r&&11!==r||!o.childNodes.length||qt(o,e,i)};return V.cascadeTo=function(t,e,i){var n,s,o,r=d.to(t,e,i),a=[r],l=[],h=[],c=[],u=d._internals.reservedProps;for(t=r._targets||r.target,qt(t,l,c),r.render(e,!0),qt(t,h),r.render(0,!0),r._enabled(!0),n=c.length;-1<--n;)if((s=et(c[n],l[n],h[n])).firstMPT){for(o in s=s.difs,i)u[o]&&(s[o]=i[o]);a.push(d.to(c[n],e,s))}return a},o.activate([V]),V},!0),(t=_gsScope._gsDefine.plugin({propName:"roundProps",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}).prototype)._onInitAllProps=function(){for(var t,e,i,n=this._tween,s=n.vars.roundProps instanceof Array?n.vars.roundProps:n.vars.roundProps.split(","),o=s.length,r={},a=n._propLookup.roundProps;-1<--o;)r[s[o]]=1;for(o=s.length;-1<--o;)for(t=s[o],e=n._firstPT;e;)i=e._next,e.pg?e.t._roundProps(r,!0):e.n===t&&(this._add(e.t,t,e.s,e.c),i&&(i._prev=e._prev),e._prev?e._prev._next=i:n._firstPT===e&&(n._firstPT=i),e._next=e._prev=null,n._propLookup[t]=a),e=i;return!1},t._add=function(t,e,i,n){this._addTween(t,e,i,i+n,e,!0),this._overwriteProps.push(e)},_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.3.3",init:function(t,e){var i,n,s;if("function"!=typeof t.setAttribute)return!1;for(i in this._target=t,this._proxy={},this._start={},this._end={},e)this._start[i]=this._proxy[i]=n=t.getAttribute(i),s=this._addTween(this._proxy,i,parseFloat(n),e[i],i),this._end[i]=s?s.s+s.c:e[i],this._overwriteProps.push(i);return!0},set:function(t){this._super.setRatio.call(this,t);for(var e,i=this._overwriteProps,n=i.length,s=1===t?this._end:t?this._proxy:this._start;-1<--n;)e=i[n],this._target.setAttribute(e,s[e]+"")}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.2.1",API:2,init:function(t,e){"object"!=typeof e&&(e={rotation:e}),this.finals={};var i,n,s,o,r,a=!0===e.useRadians?2*Math.PI:360;for(i in e)"useRadians"!==i&&(n=(r=(e[i]+"").split("_"))[0],s=parseFloat("function"!=typeof t[i]?t[i]:t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]()),o=(this.finals[i]="string"==typeof n&&"="===n.charAt(1)?s+parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)):Number(n)||0)-s,r.length&&(-1!==(n=r.join("_")).indexOf("short")&&((o%=a)!==o%(a/2)&&(o=o<0?o+a:o-a)),-1!==n.indexOf("_cw")&&o<0?o=(o+9999999999*a)%a-(0|o/a)*a:-1!==n.indexOf("ccw")&&0t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},p.ease=new p(.7,.7),f.config=p.config=function(t,e,i){return new p(t,e,i)},(f=(e=a("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0)).prototype=new g).constructor=e,f.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),(this._p2*t>>0)*this._p1},f.config=e.config=function(t){return new e(t)},(f=(i=a("easing.RoughEase",function(t){for(var e,i,n,s,o,r,a=(t=t||{}).taper||"none",l=[],h=0,c=0|(t.points||20),u=c,d=!1!==t.randomize,p=!0===t.clamp,f=t.template instanceof g?t.template:null,m="number"==typeof t.strength?.4*t.strength:.4;-1<--u;)e=d?Math.random():1/c*u,i=f?f.getRatio(e):e,"none"===a?n=m:"out"===a?n=(s=1-e)*s*m:"in"===a?n=e*e*m:n=.5*(s=e<.5?2*e:2*(1-e))*s*m,d?i+=Math.random()*n-.5*n:u%2?i+=.5*n:i-=.5*n,p&&(1e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},f.config=function(t){return new i(t)},i.ease=new i,c("Bounce",l("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),l("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),l("BounceInOut",function(t){var e=t<.5;return t=(t=e?1-2*t:2*t-1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),c("Circ",l("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),l("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),l("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),c("Elastic",(t=function(t,e,i){var n=a("easing."+t,function(t,e){this._p1=t||1,this._p2=e||i,this._p3=this._p2/o*(Math.asin(1/this._p1)||0)},!0),s=n.prototype=new g;return s.constructor=n,s.getRatio=e,s.config=function(t,e){return new n(t,e)},n})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*o/this._p2)+1},.3),t("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*o/this._p2)},.3),t("ElasticInOut",function(t){return(t*=2)<1?-.5*this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*o/this._p2):.5*this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*o/this._p2)+1},.45)),c("Expo",l("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),l("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),l("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),c("Sine",l("SineOut",function(t){return Math.sin(t*r)}),l("SineIn",function(t){return 1-Math.cos(t*r)}),l("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),a("easing.EaseLookup",{find:function(t){return g.map[t]}},!0),h(n.SlowMo,"SlowMo","ease,"),h(i,"RoughEase","ease,"),h(e,"SteppedEase","ease,"),d},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(d,t){"use strict";var e,i,p=d.GreenSockGlobals=d.GreenSockGlobals||d;if(!p.TweenLite){var n,s,o,f,m,g=function(t){var e,i=t.split("."),n=p;for(e=0;i.length>e;e++)n[i[e]]=n=n[i[e]]||{};return n},u=g("com.greensock"),v=1e-10,l=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},_=function(){},y=(e=Object.prototype.toString,i=e.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&e.call(t)===i)}),w={},x=function(a,l,h,c){this.sc=w[a]?w[a].sc:[],(w[a]=this).gsClass=null,this.func=h;var u=[];this.check=function(t){for(var e,i,n,s,o=l.length,r=o;-1<--o;)(e=w[l[o]]||new x(l[o],[])).gsClass?(u[o]=e.gsClass,r--):t&&e.sc.push(this);if(0===r&&h)for(n=(i=("com.greensock."+a).split(".")).pop(),s=g(i.join("."))[n]=this.gsClass=h.apply(h,u),c&&(p[n]=s,"function"==typeof define&&define.amd?define((d.GreenSockAMDPath?d.GreenSockAMDPath+"/":"")+a.split(".").pop(),[],function(){return s}):"TweenMax"===a&&"undefined"!=typeof module&&module.exports&&(module.exports=s)),o=0;this.sc.length>o;o++)this.sc[o].check()},this.check(!0)},r=d._gsDefine=function(t,e,i,n){return new x(t,e,i,n)},b=u._class=function(t,e,i){return e=e||function(){},r(t,[],function(){return e},i),e};r.globals=p;var a=[0,0,1,1],T=[],c=b("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?a.concat(e):a},!0),S=c.map={},h=c.register=function(t,e,i,n){for(var s,o,r,a,l=e.split(","),h=l.length,c=(i||"easeIn,easeOut,easeInOut").split(",");-1<--h;)for(o=l[h],s=n?b("easing."+o,null,!0):u.easing[o]||{},r=c.length;-1<--r;)a=c[r],S[o+"."+a]=S[a+o]=s[a]=t.getRatio?t:t[a]||new t};for((o=c.prototype)._calcEnd=!1,o.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:t<.5?n/2:1-n/2},s=(n=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--s;)o=n[s]+",Power"+s,h(new c(null,null,1,s),o,"easeOut",!0),h(new c(null,null,2,s),o,"easeIn"+(0===s?",easeNone":"")),h(new c(null,null,3,s),o,"easeInOut");S.linear=u.easing.Linear.easeIn,S.swing=u.easing.Quad.easeInOut;var C=b("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(o=C.prototype).addEventListener=function(t,e,i,n,s){s=s||0;var o,r,a=this._listeners[t],l=0;for(null==a&&(this._listeners[t]=a=[]),r=a.length;-1<--r;)(o=a[r]).c===e&&o.s===i?a.splice(r,1):0===l&&s>o.pr&&(l=r+1);a.splice(l,0,{c:e,s:i,up:n,pr:s}),this!==f||m||f.wake()},o.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;-1<--i;)if(n[i].c===e)return void n.splice(i,1)},o.dispatchEvent=function(t){var e,i,n,s=this._listeners[t];if(s)for(e=s.length,i=this._eventTarget;-1<--e;)(n=s[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var k=d.requestAnimationFrame,P=d.cancelAnimationFrame,E=Date.now||function(){return(new Date).getTime()},A=E();for(s=(n=["ms","moz","webkit","o"]).length;-1<--s&&!k;)k=d[n[s]+"RequestAnimationFrame"],P=d[n[s]+"CancelAnimationFrame"]||d[n[s]+"CancelRequestAnimationFrame"];b("Ticker",function(t,e){var s,o,r,a,l,h=this,c=E(),i=!1!==e&&k,u=500,d=33,p=function(t){var e,i,n=E()-A;u=i&&i+this.totalDuration()/this._timeScale>t},o._enabled=function(t,e){return m||f.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},o._kill=function(){return this._enabled(!1,!1)},o.kill=function(t,e){return this._kill(t,e),this},o._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},o._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();-1<--e;)"{self}"===t[e]&&(i[e]=this);return i},o.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[t];null==e?delete s[t]:(s[t]=e,s[t+"Params"]=y(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},o.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},o.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0this._duration?this._duration:t,e)):this._time},o.totalTime=function(t,e,i){if(m||f.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(nn;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._recent=t,this._timeline&&this._uncache(!0),this},o._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},o.render=function(t,e,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;s;)n=s._next,(s._active||t>=s._startTime&&!s._paused)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n},o.rawTime=function(){return m||f.wake(),this._totalTime};var z=b("TweenLite",function(t,e,i){if(O.call(this,e,i),this.render=z.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:z.selector(t)||t;var n,s,o,r=t.jquery||t.length&&t!==d&&t[0]&&(t[0]===d||t[0].nodeType&&t[0].style&&!t.nodeType),a=this.vars.overwrite;if(this._overwrite=a=null==a?H[z.defaultOverwrite]:"number"==typeof a?a>>0:H[a],(r||t instanceof Array||t.push&&y(t))&&"number"!=typeof t[0])for(this._targets=o=l(t),this._propLookup=[],this._siblings=[],n=0;o.length>n;n++)(s=o[n])?"string"!=typeof s?s.length&&s!==d&&s[0]&&(s[0]===d||s[0].nodeType&&s[0].style&&!s.nodeType)?(o.splice(n--,1),this._targets=o=o.concat(l(s))):(this._siblings[n]=V(s,this,!1),1===a&&1=a._startTime&&a._startTime+a.totalDuration()/a._timeScale>c&&((p||!a._initted)&&c-a._startTime<=2e-10||(u[d++]=a)));for(o=d;-1<--o;)if(a=u[o],2===n&&a._kill(i,t,e)&&(r=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!q(a,e))continue;a._enabled(!1,!1)&&(r=!0)}return r},Z=function(t,e,i){for(var n=t._timeline,s=n._timeScale,o=t._startTime;n._timeline;){if(o+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return e<(o/=s)?o-e:i&&o===e||!t._initted&&o-e<2*v?v:(o+=t.totalDuration()/t._timeScale/s)>e+v?0:o-e-v};o._init=function(){var t,e,i,n,s,o=this.vars,r=this._overwrittenProps,a=this._duration,l=!!o.immediateRender,h=o.ease;if(o.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),s={},o.startAt)s[n]=o.startAt[n];if(s.overwrite=!1,s.immediateRender=!0,s.lazy=l&&!1!==o.lazy,s.startAt=s.delay=null,this._startAt=z.to(this.target,0,s),l)if(0a.pr;)n=n._next;(a._prev=n?n._prev:o)?a._prev._next=a:s=a,(a._next=n)?n._prev=a:o=a,a=r}a=e._firstPT=s}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},G.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===G.API&&(N[(new t[e])._propName]=t[e]);return!0},r.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,s=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},r=b("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){G.call(this,i,n),this._overwriteProps=s||[]},!0===t.global),a=r.prototype=new G(i);for(e in(a.constructor=r).API=t.API,o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return r.version=t.version,G.activate([r]),r},n=d._gsQueue){for(s=0;n.length>s;s++)n[s]();for(o in w)w[o].func||d.console.log("GSAP encountered missing dependency: com.greensock."+o)}m=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.ScrollMagic=e()}(this,function(){"use strict";var M=function(){};M.version="2.0.5",window.addEventListener("mousewheel",function(){});var z="data-scrollmagic-pin-spacer";M.Controller=function(t){var i,n,s="REVERSE",e=T.defaults,r=this,a=R.extend({},e,t),o=[],l=!1,h=0,c="PAUSED",u=!0,d=0,p=!0,f=function(){0e.scrollOffset()?1:-1}),e};return this.addScene=function(t){if(R.type.Array(t))t.forEach(function(t){r.addScene(t)});else if(t instanceof M.Scene)if(t.controller()!==r)t.addTo(r);else if(o.indexOf(t)<0)for(var e in o.push(t),o=b(o),t.on("shift.controller_sort",function(){o=b(o)}),a.globalSceneOptions)t[e]&&t[e].call(t,a.globalSceneOptions[e]);return r},this.removeScene=function(t){if(R.type.Array(t))t.forEach(function(t){r.removeScene(t)});else{var e=o.indexOf(t);-1=a.start?1:0,d.trigger("update",{startPos:a.start,endPos:a.end,scrollPos:i}),d.progress(e)}else v&&f===c&&C(!0);else l.updateScene(d,!1);return d},this.refresh=function(){return o(),y(),d},this.progress=function(t){if(arguments.length){var e=!1,i=f,n=l?l.info("scrollDirection"):"PAUSED",s=p.reverse||m<=t;if(0===p.duration?(e=m!=t,f=0===(m=t<1&&s?0:1)?h:c):t<0&&f!==h&&s?(f=h,e=!(m=0)):0<=t&&t<1&&s?(m=t,f=c,e=!0):1<=t&&f!==u?(m=1,f=u,e=!0):f!==c||s||C(),e){var o={progress:m,state:f,scrollDirection:n},r=f!=i,a=function(t){d.trigger(t,o)};r&&i!==c&&(a("enter"),a(i===h?"start":"end")),a("progress"),r&&f!==c&&(a(f===h?"start":"end"),a("leave"))}return d}return m};var v,_,e=function(){a={start:g+p.offset},l&&p.triggerElement&&(a.start-=l.info("size")*p.triggerHook),a.end=a.start+p.duration},o=function(t){if(i){var e="duration";T(e,i.call(d))&&!t&&(d.trigger("change",{what:e,newval:p[e]}),d.trigger("shift",{reason:e}))}},y=function(t){var e=0,i=p.triggerElement;if(l&&i){for(var n=l.info(),s=R.get.offset(n.container),o=n.vertical?"top":"left";i.parentNode.hasAttribute(z);)i=i.parentNode;var r=R.get.offset(i);n.isDocument||(s[o]-=l.scrollPos()),e=r[o]-s[o]}var a=e!=g;g=e,a&&!t&&d.trigger("shift",{reason:"triggerElementPosition"})},w=function(){0n.getTime()&&(s=new Date(n)),this.endDate=n),this.date=s,this.viewDate=new Date(s),this.initialDate=new Date(this.date),this.bind(),(t.autoShow||this.isInline)&&this.show(),t.autoPick&&this.pick()},build:function(){var t,e=this.options,i=this.$element;this.isBuilt||(this.isBuilt=!0,this.$picker=t=z(e.template),this.$week=t.find('[data-view="week"]'),this.$yearsPicker=t.find('[data-view="years picker"]'),this.$yearsPrev=t.find('[data-view="years prev"]'),this.$yearsNext=t.find('[data-view="years next"]'),this.$yearsCurrent=t.find('[data-view="years current"]'),this.$years=t.find('[data-view="years"]'),this.$monthsPicker=t.find('[data-view="months picker"]'),this.$yearPrev=t.find('[data-view="year prev"]'),this.$yearNext=t.find('[data-view="year next"]'),this.$yearCurrent=t.find('[data-view="year current"]'),this.$months=t.find('[data-view="months"]'),this.$daysPicker=t.find('[data-view="days picker"]'),this.$monthPrev=t.find('[data-view="month prev"]'),this.$monthNext=t.find('[data-view="month next"]'),this.$monthCurrent=t.find('[data-view="month current"]'),this.$days=t.find('[data-view="days"]'),this.isInline?z(e.container||i).append(t.addClass("datepicker-inline")):(z(r.body).append(t.addClass("datepicker-dropdown")),t.addClass(v)),this.fillWeek())},unbuild:function(){this.isBuilt&&(this.isBuilt=!1,this.$picker.remove())},bind:function(){var t=this.options,e=this.$element;z.isFunction(t.show)&&e.on("show.datepicker",t.show),z.isFunction(t.hide)&&e.on("hide.datepicker",t.hide),z.isFunction(t.pick)&&e.on("pick.datepicker",t.pick),this.isInput&&e.on("keyup.datepicker",z.proxy(this.keyup,this)),this.isInline||(t.trigger?this.$trigger.on(i,z.proxy(this.toggle,this)):this.isInput?e.on("focus.datepicker",z.proxy(this.show,this)):e.on(i,z.proxy(this.show,this)))},unbind:function(){var t=this.options,e=this.$element;z.isFunction(t.show)&&e.off("show.datepicker",t.show),z.isFunction(t.hide)&&e.off("hide.datepicker",t.hide),z.isFunction(t.pick)&&e.off("pick.datepicker",t.pick),this.isInput&&e.off("keyup.datepicker",this.keyup),this.isInline||(t.trigger?this.$trigger.off(i,this.toggle):this.isInput?e.off("focus.datepicker",this.show):e.off(i,this.show))},showView:function(t){var e=this.$yearsPicker,i=this.$monthsPicker,n=this.$daysPicker,s=this.format;if(s.hasYear||s.hasMonth||s.hasDay)switch(u(t)){case 2:case"years":i.addClass(v),n.addClass(v),s.hasYear?(this.fillYears(),e.removeClass(v),this.place()):this.showView(0);break;case 1:case"months":e.addClass(v),n.addClass(v),s.hasMonth?(this.fillMonths(),i.removeClass(v),this.place()):this.showView(2);break;default:e.addClass(v),i.addClass(v),s.hasDay?(this.fillDays(),n.removeClass(v),this.place()):this.showView(1)}},hideView:function(){!this.isInline&&this.options.autoHide&&this.hide()},place:function(){if(!this.isInline){var t=this.options,e=this.$element,i=this.$picker,n=f.outerWidth(),s=f.outerHeight(),o=e.outerWidth(),r=e.outerHeight(),a=i.width(),l=i.height(),h=e.offset(),c=h.left,u=h.top,d=parseFloat(t.offset)||10,p="datepicker-top-left";l"+n.text+""},fillAll:function(){this.fillYears(),this.fillMonths(),this.fillDays()},fillWeek:function(){var t,e=this.options,i=parseInt(e.weekStart,10)%7,n=e.daysMin,s="";for(n=z.merge(n.slice(i),n.slice(0,i)),t=0;t<=6;t++)s+=this.createItem({text:n[t]});this.$week.html(s)},fillYears:function(){var t,e=this.options,i=e.disabledClass||"",n=e.yearSuffix||"",s=z.isFunction(e.filter)&&e.filter,o=this.startDate,r=this.endDate,a=this.viewDate,l=a.getFullYear(),h=a.getMonth(),c=a.getDate(),u=this.date,d=u.getFullYear(),p=!1,f=!1,m=!1,g=!1,v=!1,_="";for(t=-5;t<=6;t++)u=new Date(l+t,h,c),v=-5===t||6===t,g=l+t===d,m=!1,o&&(m=u.getFullYear()r.getFullYear(),6===t&&(f=m)),!m&&s&&(m=!1===s.call(this.$element,u)),_+=this.createItem({text:l+t,view:m?"year disabled":g?"year picked":"year",muted:v,picked:g,disabled:m});this.$yearsPrev.toggleClass(i,p),this.$yearsNext.toggleClass(i,f),this.$yearsCurrent.toggleClass(i,!0).html(l+-5+n+" - "+(l+6)+n),this.$years.html(_)},fillMonths:function(){var t,e=this.options,i=e.disabledClass||"",n=e.monthsShort,s=z.isFunction(e.filter)&&e.filter,o=this.startDate,r=this.endDate,a=this.viewDate,l=a.getFullYear(),h=a.getDate(),c=this.date,u=c.getFullYear(),d=c.getMonth(),p=!1,f=!1,m=!1,g=!1,v="";for(t=0;t<=11;t++)c=new Date(l,t,h),g=l===u&&t===d,m=!1,o&&(m=(p=c.getFullYear()===o.getFullYear())&&c.getMonth()r.getMonth()),!m&&s&&(m=!1===s.call(this.$element,c)),v+=this.createItem({index:t,text:n[t],view:m?"month disabled":g?"month picked":"month",picked:g,disabled:m});this.$yearPrev.toggleClass(i,p),this.$yearNext.toggleClass(i,f),this.$yearCurrent.toggleClass(i,p&&f).html(l+e.yearSuffix||""),this.$months.html(v)},fillDays:function(){var t,e,i,n=this.options,s=n.disabledClass||"",o=n.yearSuffix||"",r=n.monthsShort,a=parseInt(n.weekStart,10)%7,l=z.isFunction(n.filter)&&n.filter,h=this.startDate,c=this.endDate,u=this.viewDate,d=u.getFullYear(),p=u.getMonth(),f=d,m=p,g=d,v=new Date,_=v.getFullYear(),y=v.getMonth(),w=v.getDate(),x=p,b=this.date,T=b.getFullYear(),S=b.getMonth(),C=b.getDate(),k=!1,P=!1,E=!1,A=!1,O=[],D=[],M=[];for(0===p?(f-=1,m=11):m-=1,t=I(f,m),(i=(b=new Date(d,p,1)).getDay()-a)<=0&&(i+=7),h&&(k=b.getTime()<=h.getTime()),e=t-(i-1);e<=t;e++)b=new Date(f,m,e),E=!1,h&&(E=b.getTime()=c.getTime()),e=1;e<=i;e++)b=new Date(g,x,e),E=!1,c&&(E=b.getTime()>c.getTime()),!E&&l&&(E=!1===l.call(this.$element,b)),D.push(this.createItem({text:e,view:"day next",muted:!0,disabled:E,highlighted:g===_&&x===y&&b.getDate()===w}));for(e=1;e<=t;e++)b=new Date(d,p,e),A=d===T&&p===S&&e===C,E=!1,h&&(E=b.getTime()c.getTime()),!E&&l&&(E=!1===l.call(this.$element,b)),M.push(this.createItem({text:e,view:E?"day disabled":A?"day picked":"day",picked:A,disabled:E,highlighted:d===_&&p===y&&b.getDate()===w}));this.$monthPrev.toggleClass(s,k),this.$monthNext.toggleClass(s,P),this.$monthCurrent.toggleClass(s,k&&P).html(n.yearFirst?d+o+" "+r[p]:r[p]+" "+d+o),this.$days.html(O.join("")+M.join(" ")+D.join(""))},click:function(t){var e,i,n,s,o,r,a=z(t.target),l=this.viewDate;if(t.stopPropagation(),t.preventDefault(),!a.hasClass("disabled"))switch(e=l.getFullYear(),i=l.getMonth(),n=l.getDate(),r=a.data("view")){case"years prev":case"years next":e="years prev"===r?e-10:e+10,o=a.text(),(s=m.test(o))&&(e=parseInt(o,10),this.date=new Date(e,i,_(n,28))),this.viewDate=new Date(e,i,_(n,28)),this.fillYears(),s&&(this.showView(1),this.pick("year"));break;case"year prev":case"year next":e="year prev"===r?e-1:e+1,this.viewDate=new Date(e,i,_(n,28)),this.fillMonths();break;case"year current":this.format.hasYear&&this.showView(2);break;case"year picked":this.format.hasMonth?this.showView(1):this.hideView(),this.pick("year");break;case"year":e=parseInt(a.text(),10),this.date=new Date(e,i,_(n,28)),this.viewDate=new Date(e,i,_(n,28)),this.format.hasMonth?this.showView(1):this.hideView(),this.pick("year");break;case"month prev":case"month next":i="month prev"===r?i-1:"month next"===r?i+1:i,this.viewDate=new Date(e,i,_(n,28)),this.fillDays();break;case"month current":this.format.hasMonth&&this.showView(1);break;case"month picked":this.format.hasDay?this.showView(0):this.hideView(),this.pick("month");break;case"month":i=z.inArray(a.text(),this.options.monthsShort),this.date=new Date(e,i,_(n,28)),this.viewDate=new Date(e,i,_(n,28)),this.format.hasDay?this.showView(0):this.hideView(),this.pick("month");break;case"day prev":case"day next":case"day":i="day prev"===r?i-1:"day next"===r?i+1:i,n=parseInt(a.text(),10),this.date=new Date(e,i,n),this.viewDate=new Date(e,i,n),this.fillDays(),"day"===r&&this.hideView(),this.pick("day");break;case"day picked":this.hideView(),this.pick("day")}},clickDoc:function(t){for(var e,i=t.target,n=this.$element[0],s=this.$trigger[0];i!==r;){if(i===s||i===n){e=!0;break}i=i.parentNode}e||this.hide()},keyup:function(){this.update()},keyupDoc:function(t){this.isInput&&t.target!==this.$element[0]&&this.isShown&&("Tab"===t.key||9===t.keyCode)&&this.hide()},getValue:function(){var t=this.$element,e="";return this.isInput?e=t.val():this.isInline?this.options.container&&(e=t.text()):e=t.text(),e},setValue:function(t){var e=this.$element;t=h(t)?t:"",this.isInput?e.val(t):this.isInline?this.options.container&&e.text(t):e.text(t)},show:function(){this.isBuilt||this.build(),this.isShown||this.trigger("show.datepicker").isDefaultPrevented()||(this.isShown=!0,this.$picker.removeClass(v).on(i,z.proxy(this.click,this)),this.showView(this.options.startView),this.isInline||(e.on("resize.datepicker",this._place=t(this.place,this)),f.on(i,this._clickDoc=t(this.clickDoc,this)),f.on("keyup.datepicker",this._keyupDoc=t(this.keyupDoc,this)),this.place()))},hide:function(){this.isShown&&(this.trigger("hide.datepicker").isDefaultPrevented()||(this.isShown=!1,this.$picker.addClass(v).off(i,this.click),this.isInline||(e.off("resize.datepicker",this._place),f.off(i,this._clickDoc),f.off("keyup.datepicker",this._keyupDoc))))},toggle:function(){this.isShown?this.hide():this.show()},update:function(){var t=this.getValue();t!==this.oldValue&&(this.setDate(t,!0),this.oldValue=t)},pick:function(t){var e=this.$element,i=this.date;this.trigger("pick.datepicker",{view:t||"",date:i}).isDefaultPrevented()||(this.setValue(i=this.formatDate(this.date)),this.isInput&&e.trigger("change"))},reset:function(){this.setDate(this.initialDate,!0),this.setValue(this.initialValue),this.isShown&&this.showView(this.options.startView)},getMonthName:function(t,e){var i=this.options,n=i.months;return z.isNumeric(t)?t=u(t):a(e)&&(e=t),!0===e&&(n=i.monthsShort),n[o(t)?t:this.date.getMonth()]},getDayName:function(t,e,i){var n=this.options,s=n.days;return z.isNumeric(t)?t=u(t):(a(i)&&(i=e),a(e)&&(e=t)),(s=!0===i?n.daysMin:!0===e?n.daysShort:s)[o(t)?t:this.date.getDay()]},getDate:function(t){var e=this.date;return t?this.formatDate(e):new Date(e)},setDate:function(t,e){var i=this.options.filter;if(c(t)||h(t)){if(t=this.parseDate(t),z.isFunction(i)&&!1===i.call(this.$element,t))return;this.date=t,this.viewDate=new Date(t),e||this.pick(),this.isBuilt&&this.fillAll()}},setStartDate:function(t){(c(t)||h(t))&&(this.startDate=this.parseDate(t),this.isBuilt&&this.fillAll())},setEndDate:function(t){(c(t)||h(t))&&(this.endDate=this.parseDate(t),this.isBuilt&&this.fillAll())},parseDate:function(t){var e,i,n,s,o,r,a=this.format,l=[];if(c(t))return new Date(t.getFullYear(),t.getMonth(),t.getDate());if(h(t)&&(l=t.match(/\d+/g)||[]),i=(t=new Date).getFullYear(),n=t.getDate(),s=t.getMonth(),e=a.parts.length,l.length===e)for(r=0;r
              ',offset:10,zIndex:1e3,filter:null,show:null,hide:null,pick:null},l.setDefaults=function(t){(t=z.isPlainObject(t)?t:{}).language&&(t=z.extend({},l.LANGUAGES[t.language],t)),z.extend(l.DEFAULTS,t)},l.other=z.fn.datepicker,z.fn.datepicker=function(s){var o,r=n(arguments,1);return this.each(function(){var t,e,i=z(this),n=i.data(d);if(!n){if(/destroy/.test(s))return;t=z.extend({},i.data(),z.isPlainObject(s)&&s),i.data(d,n=new l(this,t))}h(s)&&z.isFunction(e=n[s])&&(o=e.apply(n,r))}),a(o)?this:o},z.fn.datepicker.Constructor=l,z.fn.datepicker.languages=l.LANGUAGES,z.fn.datepicker.setDefaults=l.setDefaults,z.fn.datepicker.noConflict=function(){return z.fn.datepicker=l.other,this}}),function(){function i(t){if(void 0===t)throw new Error('Pathformer [constructor]: "element" parameter is required');if(t.constructor===String&&!(t=document.getElementById(t)))throw new Error('Pathformer [constructor]: "element" parameter is not related to an existing ID');if(!(t.constructor instanceof window.SVGElement||/^svg$/i.test(t.nodeName)))throw new Error('Pathformer [constructor]: "element" parameter must be a string or a SVGelement');this.el=t,this.scan(t)}function n(t,e,i){s(),this.isReady=!1,this.setElement(t,e),this.setOptions(e),this.setCallback(i),this.isReady&&this.init()}var s,e,t,l;i.prototype.TYPES=["line","ellipse","circle","polygon","polyline","rect"],i.prototype.ATTR_WATCH=["cx","cy","points","r","rx","ry","x","x1","x2","y","y1","y2"],i.prototype.scan=function(t){for(var e,i,n,s=t.querySelectorAll(this.TYPES.join(",")),o=0;o=this.duration)throw new Error("Vivus [constructor]: delay must be shorter than duration")},n.prototype.setCallback=function(t){if(t&&t.constructor!==Function)throw new Error('Vivus [constructor]: "callback" parameter must be a function');this.callback=t||function(){}},n.prototype.mapping=function(){var t,e,i,n,s,o,r,a;for(a=o=r=0,e=this.el.querySelectorAll("path"),t=0;t=this.frameLength))return this.trace(),void(this.handle=e(function(){t.drawer()}));this.stop(),this.currentFrame=this.frameLength,this.trace(),this.selfDestroy&&this.destroy()}this.callback(this),this.instanceCallback&&(this.instanceCallback(this),this.instanceCallback=null)},n.prototype.trace=function(){var t,e,i,n;for(n=this.animTimingFunction(this.currentFrame/this.frameLength)*this.frameLength,t=0;ts+this.options.directionLockThreshold?this.directionLocked="h":s>=n+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);a=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);r=0}r=this.hasHorizontalScroll?r:0,a=this.hasVerticalScroll?a:0,e=this.x+r,i=this.y+a,(0-this.scrollerWidth;){for(this.pages[r]=[],s=t=0;s>-this.scrollerHeight;)this.pages[r][t]={x:u.max(l,this.maxScrollX),y:u.max(s,this.maxScrollY),width:h,height:c,cx:l-i,cy:s-n},s-=c,t++;l-=h,r++}else for(t=(o=this.options.snap).length,e=-1;rthis.maxScrollX&&a++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1==0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=u.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=u.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var t=this.options.snapSpeed||u.max(u.max(u.min(u.abs(this.x-this.startX),1e3),u.min(u.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)})},_nearestSnap:function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0,n=this.pages.length,s=0;if(u.abs(t-this.absStartX)=this.pages[i][0].cx){t=this.pages[i][0].x;break}for(n=this.pages[i].length;s=this.pages[0][s].cy){e=this.pages[0][s].y;break}return i==this.currentPage.pageX&&((i+=this.directionX)<0?i=0:i>=this.pages.length&&(i=this.pages.length-1),t=this.pages[i][0].x),s==this.currentPage.pageY&&((s+=this.directionY)<0?s=0:s>=this.pages[0].length&&(s=this.pages[0].length-1),e=this.pages[0][s].y),{x:t,y:e,pageX:i,pageY:s}},goToPage:function(t,e,i,n){n=n||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var s=this.pages[t][e].x,o=this.pages[t][e].y;i=void 0===i?this.options.snapSpeed||u.max(u.max(u.min(u.abs(s-this.x),1e3),u.min(u.abs(o-this.y),1e3)),300):i,this.currentPage={x:s,y:o,pageX:t,pageY:e},this.scrollTo(s,o,i,n)},next:function(t,e){var i=this.currentPage.pageX,n=this.currentPage.pageY;++i>=this.pages.length&&this.hasVerticalScroll&&(i=0,n++),this.goToPage(i,n,t,e)},prev:function(t,e){var i=this.currentPage.pageX,n=this.currentPage.pageY;--i<0&&this.hasVerticalScroll&&(i=0,n--),this.goToPage(i,n,t,e)},_initKeys:function(t){var e,i={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(e in this.options.keyBindings)"string"==typeof this.options.keyBindings[e]&&(this.options.keyBindings[e]=this.options.keyBindings[e].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(e in i)this.options.keyBindings[e]=this.options.keyBindings[e]||i[e];m.addEvent(o,"keydown",this),this.on("destroy",function(){m.removeEvent(o,"keydown",this)})},_key:function(t){if(this.enabled){var e,i=this.options.snap,n=i?this.currentPage.pageX:this.x,s=i?this.currentPage.pageY:this.y,o=m.getTime(),r=this.keyTime||0;switch(this.options.useTransition&&this.isInTransition&&(e=this.getComputedPosition(),this._translate(u.round(e.x),u.round(e.y)),this.isInTransition=!1),this.keyAcceleration=o-r<200?u.min(this.keyAcceleration+.25,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?n+=i?1:this.wrapperWidth:s+=i?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?n-=i?1:this.wrapperWidth:s-=i?1:this.wrapperHeight;break;case this.options.keyBindings.end:n=i?this.pages.length-1:this.maxScrollX,s=i?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:s=n=0;break;case this.options.keyBindings.left:n+=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:s+=i?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:n-=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:s-=i?1:5+this.keyAcceleration>>0;break;default:return}if(i)return void this.goToPage(n,s);0this.maxBoundaryX?"scale"==this.options.shrink?(this.width=u.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",t=this.maxPosX+this.indicatorWidth-this.width):t=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),ethis.maxBoundaryY?"scale"==this.options.shrink?(this.height=u.max(this.indicatorHeight-3*(e-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",e=this.maxPosY+this.indicatorHeight-this.height):e=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=e,this.scroller.options.useTransform?this.indicatorStyle[m.style.transform]="translate("+t+"px,"+e+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=e+"px")},_pos:function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=this.options.listenX?u.round(t/this.sizeRatioX):this.scroller.x,e=this.options.listenY?u.round(e/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,e)},fade:function(t,e){if(!e||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var i=t?250:500,n=t?0:300;t=t?"1":"0",this.wrapperStyle[m.style.transitionDuration]=i+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),n)}}},t.utils=m,"undefined"!=typeof module&&module.exports?module.exports=t:"function"==typeof define&&define.amd?define(function(){return t}):o.IScroll=t}(window,document,Math),function(e,i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(t){return i(t,e,e.document,e.Math)}):"object"==typeof exports&&exports?module.exports=i(require("jquery"),e,e.document,e.Math):i(jQuery,e,e.document,e.Math)}("undefined"!=typeof window?window:this,function(oe,re,ae,le,he){"use strict";var ce="fullpage-wrapper",ue="."+ce,de="fp-responsive",pe="fp-notransition",fe="fp-destroyed",me="fp-enabled",ge="fp-viewing",ve="active",_e="."+ve,ye="fp-completely",we="fp-section",xe="."+we,be=xe+_e,Te="fp-tableCell",Se="."+Te,Ce="#fp-nav",ke="fp-tooltip",Pe="fp-slide",Ee="."+Pe,Ae=Ee+_e,Oe=".fp-slides",De="fp-slidesContainer",Me="."+De,ze="fp-table",Ie="fp-slidesNav",Re="."+Ie,Le=Re+" a",t="fp-controlArrow",Fe="."+t,Ne="fp-prev",$e=Fe+".fp-prev",Be=Fe+".fp-next",Ye=oe(re),He=oe(ae);oe.fn.fullpage=function(x){function i(t,e){t||mt(0),_t("autoScrolling",t,e);var i=oe(be);x.autoScrolling&&!x.scrollBar?(xt.css({overflow:"hidden",height:"100%"}),n(Ut.recordHistory,"internal"),Dt.css({"-ms-touch-action":"none","touch-action":"none"}),i.length&&mt(i.position().top)):(xt.css({overflow:"visible",height:"initial"}),n(!1,"internal"),Dt.css({"-ms-touch-action":"","touch-action":""}),i.length&&xt.scrollTop(i.position().top))}function n(t,e){_t("recordHistory",t,e)}function s(t,e){_t("scrollingSpeed",t,e)}function o(t,e){_t("fitToSection",t,e)}function e(t){t?(function(){var t,e="";re.addEventListener?t="addEventListener":(t="attachEvent",e="on");var i="onwheel"in ae.createElement("div")?"wheel":ae.onmousewheel!==he?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==i?ae[t](e+"MozMousePixelScroll",C,!1):ae[t](e+i,C,!1)}(),Dt.on("mousedown",H).on("mouseup",X)):(ae.addEventListener?(ae.removeEventListener("mousewheel",C,!1),ae.removeEventListener("wheel",C,!1),ae.removeEventListener("MozMousePixelScroll",C,!1)):ae.detachEvent("onmousewheel",C),Dt.off("mousedown",H).off("mouseup",X))}function r(i,t){void 0!==t?(t=t.replace(/ /g,"").split(","),oe.each(t,function(t,e){vt(i,e,"m")})):(vt(i,"all","m"),i?(e(!0),(At||Ot)&&(x.autoScrolling&&bt.off(qt.touchmove).on(qt.touchmove,_),oe(ue).off(qt.touchstart).on(qt.touchstart,T).off(qt.touchmove).on(qt.touchmove,y))):(e(!1),(At||Ot)&&(x.autoScrolling&&bt.off(qt.touchmove),oe(ue).off(qt.touchstart).off(qt.touchmove))))}function a(i,t){void 0!==t?(t=t.replace(/ /g,"").split(","),oe.each(t,function(t,e){vt(i,e,"k")})):(vt(i,"all","k"),x.keyboardScrolling=i)}function l(){var t=oe(be).prev(xe);t.length||!x.loopTop&&!x.continuousVertical||(t=oe(xe).last()),t.length&&E(t,null,!0)}function h(){var t=oe(be).next(xe);t.length||!x.loopBottom&&!x.continuousVertical||(t=oe(xe).first()),t.length&&E(t,null,!1)}function c(t,e){s(0,"internal"),u(t,e),s(Ut.scrollingSpeed,"internal")}function u(t,e){var i=rt(t);void 0!==e?at(t,e):0=Ye.scrollTop()+Ye.height():i<=Ye.scrollTop())&&(oe(be).hasClass(ye)||oe(be).addClass(ye).siblings().removeClass(ye)),!(t=oe(u).eq(l)).hasClass(ve)){Zt=!0;var p,f,m=oe(be),g=m.index(xe)+1,v=it(t),_=t.data("anchor"),y=t.index(xe)+1,w=t.find(Ae);w.length&&(f=w.data("anchor"),p=w.index()),Rt&&(t.addClass(ve).siblings().removeClass(ve),oe.isFunction(x.onLeave)&&x.onLeave.call(m,g,y,v),oe.isFunction(x.afterLoad)&&x.afterLoad.call(t,_,y),I(m),D(t),M(t),et(_,y-1),x.anchors.length&&(St=_),ht(p,f,_,y)),clearTimeout(Ht),Ht=setTimeout(function(){Zt=!1},100)}x.fitToSection&&(clearTimeout(Xt),Xt=setTimeout(function(){x.fitToSection&&oe(be).outerHeight()<=Mt&&b()},x.fitToSectionDelay))}}function b(){Rt&&(zt=!0,E(oe(be)),zt=!1)}function v(t){if(Ft.m[t]){var e="down"===t?h:l;if(x.scrollOverflow){var i=x.scrollOverflowHandler.scrollable(oe(be)),n="down"===t?"bottom":"top";if(0le.abs(Qt-Jt)?!Et&&le.abs(Kt-te)>Ye.outerWidth()/100*x.touchSensitivity&&(teYe.height()/100*x.touchSensitivity&&(Jtie,u=h-Mt+a.outerHeight(),d=x.bigSectionsDestination,a.outerHeight()>Mt?(c||d)&&"bottom"!==d||(h=u):(c||zt&&a.is(":last-child"))&&(h=u),ie=h),yMovement:it(t),anchorLink:t.data("anchor"),sectionIndex:t.index(xe),activeSlide:t.find(Ae),activeSection:oe(be),leavingSection:oe(be).index(xe)+1,localIsResizing:zt};o.activeSection.is(t)&&!zt||x.scrollBar&&Ye.scrollTop()===o.dtop&&!t.hasClass("fp-auto-height")||(o.activeSlide.length&&(n=o.activeSlide.data("anchor"),s=o.activeSlide.index()),oe.isFunction(x.onLeave)&&!o.localIsResizing&&!1===x.onLeave.call(o.activeSection,o.leavingSection,o.sectionIndex+1,o.yMovement)||(x.autoScrolling&&x.continuousVertical&&void 0!==o.isMovementUp&&(!o.isMovementUp&&"up"==o.yMovement||o.isMovementUp&&"down"==o.yMovement)&&((r=o).isMovementUp?oe(be).before(r.activeSection.nextAll(xe)):oe(be).after(r.activeSection.prevAll(xe).get().reverse()),mt(oe(be).position().top),P(),r.wrapAroundElements=r.activeSection,r.dtop=r.element.position().top,r.yMovement=it(r.element),r.leavingSection=r.activeSection.index(xe)+1,r.sectionIndex=r.element.index(xe),o=r),o.localIsResizing||I(o.activeSection),x.scrollOverflow&&x.scrollOverflowHandler.beforeLeave(),t.addClass(ve).siblings().removeClass(ve),D(t),x.scrollOverflow&&x.scrollOverflowHandler.onLeave(),Rt=!1,ht(s,n,o.anchorLink,o.sectionIndex),function(t){if(x.css3&&x.autoScrolling&&!x.scrollBar){var e="translate3d(0px, -"+le.round(t.dtop)+"px, 0px)";ot(e,!0),x.scrollingSpeed?(clearTimeout(Bt),Bt=setTimeout(function(){A(t)},x.scrollingSpeed)):A(t)}else{var i=(n=t,s={},x.autoScrolling&&!x.scrollBar?(s.options={top:-n.dtop},s.element=ue):(s.options={scrollTop:n.dtop},s.element="html, body"),s);oe(i.element).animate(i.options,x.scrollingSpeed,x.easing).promise().done(function(){x.scrollBar?setTimeout(function(){A(t)},30):A(t)})}var n,s}(o),St=o.anchorLink,et(o.anchorLink,o.sectionIndex)))}var r,a,l,h,c,u,d}function A(t){var e;(e=t).wrapAroundElements&&e.wrapAroundElements.length&&(e.isMovementUp?oe(".fp-section:first").before(e.wrapAroundElements):oe(".fp-section:last").after(e.wrapAroundElements),mt(oe(be).position().top),P()),oe.isFunction(x.afterLoad)&&!t.localIsResizing&&x.afterLoad.call(t.element,t.anchorLink,t.sectionIndex+1),x.scrollOverflow&&x.scrollOverflowHandler.afterLoad(),t.localIsResizing||M(t.element),t.element.addClass(ye).siblings().removeClass(ye),Rt=!0,oe.isFunction(t.callback)&&t.callback.call(this)}function O(t,e){t.attr(e,t.data(e)).removeAttr("data-"+e)}function D(t){var n;x.lazyLoading&&R(t).find("img[data-src], img[data-srcset], source[data-src], video[data-src], audio[data-src], iframe[data-src]").each(function(){if(n=oe(this),oe.each(["src","srcset"],function(t,e){var i=n.attr("data-"+e);void 0!==i&&i&&O(n,e)}),n.is("source")){var t=n.closest("video").length?"video":"audio";n.closest(t).get(0).load()}})}function M(t){var e=R(t);e.find("video, audio").each(function(){var t=oe(this).get(0);t.hasAttribute("data-autoplay")&&"function"==typeof t.play&&t.play()}),e.find('iframe[src*="youtube.com/embed/"]').each(function(){var t=oe(this).get(0);t.hasAttribute("data-autoplay")&&z(t),t.onload=function(){t.hasAttribute("data-autoplay")&&z(t)}})}function z(t){t.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function I(t){var e=R(t);e.find("video, audio").each(function(){var t=oe(this).get(0);t.hasAttribute("data-keepplaying")||"function"!=typeof t.pause||t.pause()}),e.find('iframe[src*="youtube.com/embed/"]').each(function(){var t=oe(this).get(0);/youtube\.com\/embed\//.test(oe(this).attr("src"))&&!t.hasAttribute("data-keepplaying")&&oe(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function R(t){var e=t.find(Ae);return e.length&&(t=oe(e)),t}function L(){var t=N(),e=t.section,i=t.slide;e&&(x.animateAnchor?at(e,i):c(e,i))}function F(){if(!Zt&&!x.lockAnchors){var t=N(),e=t.section,i=t.slide,n=void 0===St,s=void 0===St&&void 0===i&&!Et;e.length&&(e&&e!==St&&!n||s||!Et&&Ct!=i)&&at(e,i)}}function N(){var t=re.location.hash,e=t.replace("#","").split("/"),i=-1ne&&Ft.m.down&&h()),ne=t.pageY}function Z(t,e,i){var n,s,o=t.closest(xe),r={slides:t,destiny:e,direction:i,destinyPos:e.position(),slideIndex:e.index(),section:o,sectionIndex:o.index(xe),anchorLink:o.data("anchor"),slidesNav:o.find(Re),slideAnchor:ut(e),prevSlide:o.find(Ae),prevSlideIndex:o.find(Ae).index(),localIsResizing:zt};return r.xMovement=(n=r.prevSlideIndex,s=r.slideIndex,n==s?"none":s20*le.max(se,e)/100&&(f(!0),se=e)}}else clearTimeout($t),$t=setTimeout(function(){f(!0)},350)}function K(){var t=x.responsive||x.responsiveWidth,e=x.responsiveHeight,i=t&&Ye.outerWidth()')}function st(t){var e=Mt;if(x.paddingTop||x.paddingBottom){var i=t;i.hasClass(we)||(i=t.closest(xe));var n=parseInt(i.css("padding-top"))+parseInt(i.css("padding-bottom"));e=Mt-n}return e}function ot(t,e){e?J(Dt):tt(Dt),Dt.css(gt(t)),setTimeout(function(){Dt.removeClass(pe)},10)}function rt(t){if(!t)return[];var e=Dt.find(xe+'[data-anchor="'+t+'"]');return e.length||(e=oe(xe).eq(t-1)),e}function at(t,e){var i=rt(t);i.length&&(void 0===e&&(e=0),t===St||i.hasClass(ve)?lt(i,e):E(i,function(){lt(i,e)}))}function lt(t,e){if(void 0!==e){var i=t.find(Oe),n=(s=e,o=t.find(Oe),(r=o.find(Ee+'[data-anchor="'+s+'"]')).length||(r=o.find(Ee).eq(s)),r);n.length&&Z(i,n)}var s,o,r}function ht(t,e,i,n){var s="";x.anchors.length&&!x.lockAnchors&&(t?(void 0!==i&&(s=i),void 0===e&&(e=t),ct(s+"/"+(Ct=e))):(void 0!==t&&(Ct=e),ct(i))),dt()}function ct(t){if(x.recordHistory)location.hash=t;else if(At||Ot)re.history.replaceState(he,he,"#"+t);else{var e=re.location.href.split("#")[0];re.location.replace(e+"#"+t)}}function ut(t){var e=t.data("anchor"),i=t.index();return void 0===e&&(e=i),e}function dt(){var t=oe(be),e=t.find(Ae),i=ut(t),n=ut(e),s=String(i);e.length&&(s=s+"-"+n),s=s.replace("/","-").replace("#","");var o=new RegExp("\\b\\s?"+ge+"-[^\\s]+\\b","g");bt[0].className=bt[0].className.replace(o,""),bt.addClass(ge+"-"+s)}function pt(t){var e=[];return e.y=void 0!==t.pageY&&(t.pageY||t.pageX)?t.pageY:t.touches[0].pageY,e.x=void 0!==t.pageX&&(t.pageY||t.pageX)?t.pageX:t.touches[0].pageX,Ot&&w(t)&&x.scrollBar&&(e.y=t.touches[0].pageY,e.x=t.touches[0].pageX),e}function ft(t,e){s(0,"internal"),void 0!==e&&(zt=!0),Z(t.closest(Oe),t),void 0!==e&&(zt=!1),s(Ut.scrollingSpeed,"internal")}function mt(t){var e=le.round(t);x.css3&&x.autoScrolling&&!x.scrollBar?ot("translate3d(0px, -"+e+"px, 0px)",!1):x.autoScrolling&&!x.scrollBar?Dt.css("top",-e):xt.scrollTop(e)}function gt(t){return{"-webkit-transform":t,"-moz-transform":t,"-ms-transform":t,transform:t}}function vt(i,t,n){"all"!==t?Ft[n][t]=i:oe.each(Object.keys(Ft[n]),function(t,e){Ft[n][e]=i})}function _t(t,e,i){x[t]=e,"internal"!==i&&(Ut[t]=e)}function yt(){return oe("html").hasClass(me)?void wt("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(x.continuousVertical&&(x.loopTop||x.loopBottom)&&(x.continuousVertical=!1,wt("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),x.scrollBar&&x.scrollOverflow&&wt("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),!x.continuousVertical||!x.scrollBar&&x.autoScrolling||(x.continuousVertical=!1,wt("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),x.scrollOverflow&&!x.scrollOverflowHandler&&(x.scrollOverflow=!1,wt("error","The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js.")),oe.each(["fadingEffect","continuousHorizontal","scrollHorizontally","interlockedSlides","resetSliders","responsiveSlides","offsetSections","dragAndMove","scrollOverflowReset","parallax"],function(t,e){x[e]&&wt("warn","fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. Requested: "+e)}),void oe.each(x.anchors,function(t,e){var i=He.find("[name]").filter(function(){return oe(this).attr("name")&&oe(this).attr("name").toLowerCase()==e.toLowerCase()}),n=He.find("[id]").filter(function(){return oe(this).attr("id")&&oe(this).attr("id").toLowerCase()==e.toLowerCase()});(n.length||i.length)&&(wt("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),n.length&&wt("error",'"'+e+'" is is being used by another element `id` property'),i.length&&wt("error",'"'+e+'" is is being used by another element `name` property'))}))}function wt(t,e){console&&console[t]&&console[t]("fullPage: "+e)}if(oe("html").hasClass(me))yt();else{var xt=oe("html, body"),bt=oe("body"),Tt=oe.fn.fullpage;x=oe.extend({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:oe.fn.fp_scrolloverflow?oe.fn.fp_scrolloverflow.iscrollHandler:null,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},sectionSelector:".section",slideSelector:".slide",afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},x);var St,Ct,kt,Pt,Et=!1,At=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),Ot="ontouchstart"in re||0'),e.parent().wrap('
              '),t.find(Me).css("width",s+"%"),1
              '),"#fff"!=x.controlArrowColor&&(n.find(Be).css("border-color","transparent transparent transparent "+x.controlArrowColor),n.find($e).css("border-color","transparent "+x.controlArrowColor+" transparent transparent")),x.loopHorizontal||n.find($e).hide()),x.slidesNavigation&&function(t,e){t.append('
                ');var i=t.find(Re);i.addClass(x.slidesNavPosition);for(var n=0;n');i.css("margin-left","-"+i.width()/2+"px"),i.find("li").first().find("a").addClass(ve)}(t,i)),e.each(function(t){oe(this).css("width",o+"%"),x.verticalCentered&&nt(oe(this))});var r=t.find(Ae);r.length&&(0!==oe(be).index(xe)||0===oe(be).index(xe)&&0!==r.index())?ft(r,"internal"):e.eq(0).addClass(ve)}(o,r,a):x.verticalCentered&&nt(o)}),x.fixedElements&&x.css3&&oe(x.fixedElements).appendTo(bt),x.navigation&&function(){bt.append('
                  ');var t=oe(Ce);t.addClass(function(){return x.showActiveTooltip?"fp-show-active "+x.navigationPosition:x.navigationPosition});for(var e=0;e',s=x.navigationTooltips[e];void 0!==s&&""!==s&&(n+='
                  '+s+"
                  "),n+="",t.find("ul").append(n)}oe(Ce).css("margin-top","-"+oe(Ce).height()/2+"px"),oe(Ce).find("li").eq(oe(be).index(xe)).find("a").addClass(ve)}(),Dt.find('iframe[src*="youtube.com/embed/"]').each(function(){var t,e,i;t=oe(this),e="enablejsapi=1",i=t.attr("src"),t.attr("src",i+(/\?/.test(i)?"&":"?")+e)}),x.scrollOverflow?Nt=x.scrollOverflowHandler.init(x):t(),r(!0),i(x.autoScrolling,"internal"),K(),dt(),"complete"===ae.readyState&&L(),Ye.on("load",L),Ye.on("scroll",g).on("hashchange",F).blur(j).resize(Q),He.keydown($).keyup(Y).on("click touchstart",Ce+" a",V).on("click touchstart",Le,q).on("click",".fp-tooltip",B),oe(xe).on("click touchstart",Fe,W),x.normalScrollElements&&(He.on("mouseenter touchstart",x.normalScrollElements,function(){r(!1)}),He.on("mouseleave touchend",x.normalScrollElements,function(){r(!0)})));var Zt=!1,Gt=0,Qt=0,Kt=0,Jt=0,te=0,ee=(new Date).getTime(),ie=0,ne=0,se=Mt}}}),function(e,i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(t){return i(t,e,e.document,e.Math)}):"object"==typeof exports&&exports?module.exports=i(require("jquery"),e,e.document,e.Math):i(jQuery,e,e.document,e.Math)}("undefined"!=typeof window?window:this,function(Pe,Ee,Ae,Oe,De){"use strict";var Me="fullpage-wrapper",ze="."+Me,Ie="fp-responsive",Re="fp-notransition",Le="fp-destroyed",Fe="fp-enabled",Ne="fp-viewing",$e="active",Be="."+$e,Ye="fp-completely",He="fp-section",Xe="."+He,We=Xe+Be,je="fp-tableCell",Ve="."+je,qe="#fp-nav",Ue="fp-tooltip",Ze="fp-slide",Ge="."+Ze,Qe=Ge+Be,Ke=".fp-slides",Je="fp-slidesContainer",ti="."+Je,ei="fp-table",ii="fp-slidesNav",ni="."+ii,si=ni+" a",t="fp-controlArrow",oi="."+t,ri="fp-prev",ai=oi+".fp-prev",li=oi+".fp-next",hi=Pe(Ee),ci=Pe(Ae);Pe.fn.fullpage=function(g){function i(t,e){t||Pt(0),Rt("autoScrolling",t,e);var i=Pe(We);g.autoScrolling&&!g.scrollBar?(Nt.css({overflow:"hidden",height:"100%"}),n(pe.recordHistory,"internal"),Ut.css({"-ms-touch-action":"none","touch-action":"none"}),i.length&&Pt(i.position().top)):(Nt.css({overflow:"visible",height:"initial"}),n(!1,"internal"),Ut.css({"-ms-touch-action":"","touch-action":""}),Ot(Ut),i.length&&Nt.scrollTop(i.position().top)),Ut.trigger("setAutoScrolling",[t])}function n(t,e){Rt("recordHistory",t,e)}function s(t,e){"internal"!==e&&g.fadingEffect&&Bt.fadingEffect&&Bt.fadingEffect.update(t),Rt("scrollingSpeed",t,e)}function o(t,e){Rt("fitToSection",t,e)}function e(t){t?(function(){var t,e="";Ee.addEventListener?t="addEventListener":(t="attachEvent",e="on");var i="onwheel"in Ae.createElement("div")?"wheel":Ae.onmousewheel!==De?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==i?Ae[t](e+"MozMousePixelScroll",A,!1):Ae[t](e+i,A,!1)}(),Ut.on("mousedown",G).on("mouseup",Q)):(Ae.addEventListener?(Ae.removeEventListener("mousewheel",A,!1),Ae.removeEventListener("wheel",A,!1),Ae.removeEventListener("MozMousePixelScroll",A,!1)):Ae.detachEvent("onmousewheel",A),Ut.off("mousedown",G).off("mouseup",Q))}function r(i,t){void 0!==t?(t=t.replace(/ /g,"").split(","),Pe.each(t,function(t,e){At(i,e,"m")})):(At(i,"all","m"),i?(e(!0),Dt("dragAndMove")&&"mouseonly"!==g.dragAndMove||(Vt||qt)&&(g.autoScrolling&&$t.off(ue.touchmove).on(ue.touchmove,S),Pe(ze).off(ue.touchstart).on(ue.touchstart,P).off(ue.touchmove).on(ue.touchmove,C))):(e(!1),(Vt||qt)&&Pe(ze).off(ue.touchstart).off(ue.touchmove)))}function a(i,t){void 0!==t?(t=t.replace(/ /g,"").split(","),Pe.each(t,function(t,e){At(i,e,"k")})):(At(i,"all","k"),g.keyboardScrolling=i)}function l(){var t=Pe(We).prev(Xe);t.length||!g.loopTop&&!g.continuousVertical||(t=Pe(Xe).last()),t.length&&z(t,null,!0)}function h(){var t=Pe(We).next(Xe);t.length||!g.loopBottom&&!g.continuousVertical||(t=Pe(Xe).first()),t.length&&z(t,null,!1)}function c(t,e){s(0,"internal"),u(t,e),s(pe.scrollingSpeed,"internal")}function u(t,e){var i=vt(t);void 0!==e?_t(t,e):0'),e.parent().wrap('
                  '),t.find(ti).css("width",s+"%"),1
                  '),"#fff"!=g.controlArrowColor&&(n.find(li).css("border-color","transparent transparent transparent "+g.controlArrowColor),n.find(ai).css("border-color","transparent "+g.controlArrowColor+" transparent transparent")),g.loopHorizontal||n.find(ai).hide()),g.slidesNavigation&&function(t,e){t.append('
                    ');var i=t.find(ni);i.addClass(g.slidesNavPosition);for(var n=0;n');i.css("margin-left","-"+i.width()/2+"px"),i.find("li").first().find("a").addClass($e)}(t,i)),e.each(function(t){Pe(this).css("width",o+"%"),g.verticalCentered&&ft(Pe(this))});var r=t.find(Qe);r.length&&(0!==Pe(We).index(Xe)||0===Pe(We).index(Xe)&&0!==r.index())?kt(r,"internal"):e.eq(0).addClass($e)}function _(t){return g.offsetSections&&Bt.offsetSections?Oe.round(Bt.offsetSections.getWindowHeight(t)):Zt}function y(){var t,e=Pe(We);e.addClass(Ye),L(e),F(e),g.scrollOverflow&&g.scrollOverflowHandler.afterLoad(),(!(t=vt(V().section)).length||t.length&&t.index()===Wt.index())&&Pe.isFunction(g.afterLoad)&&g.afterLoad.call(e,e.data("anchor"),e.index(Xe)+1),Pe.isFunction(g.afterRender)&&g.afterRender.call(Ut)}function w(){Te||(requestAnimationFrame(x),Te=!0)}function x(){var t,e;if(Ut.trigger("onScroll"),(!g.autoScrolling||g.scrollBar||Dt("dragAndMove"))&&!It()){var i=Dt("dragAndMove")?Oe.abs(Bt.dragAndMove.getCurrentScroll()):hi.scrollTop(),n=(ve<(e=i)?"down":"up",Se=ve=e,0),s=i+hi.height()/2,o=(Dt("dragAndMove")?Bt.dragAndMove.getDocumentHeight():$t.height()-hi.height())===i,r=Ae.querySelectorAll(Xe);if(o)n=r.length-1;else if(i)for(var a=0;aOe.abs(_e-we)?!jt&&Oe.abs(ye-xe)>hi.outerWidth()/100*g.touchSensitivity&&(xehi.height()/100*g.touchSensitivity&&(we<_e?T("down"):_eSe,s=i-Zt+t.outerHeight(),o=g.bigSectionsDestination;return t.outerHeight()>Zt?(n||o)&&"bottom"!==o||(i=s):(n||Gt&&t.is(":last-child"))&&(i=s),g.offsetSections&&Bt.offsetSections&&(i=Bt.offsetSections.getSectionPosition(n,i,t)),Se=i}function z(t,e,i){if(void 0!==t&&t.length){var n,s,o={element:t,callback:e,isMovementUp:i,dtop:M(t),yMovement:dt(t),anchorLink:t.data("anchor"),sectionIndex:t.index(Xe),activeSlide:t.find(Qe),activeSection:Pe(We),leavingSection:Pe(We).index(Xe)+1,localIsResizing:Gt};o.activeSection.is(t)&&!Gt||g.scrollBar&&hi.scrollTop()===o.dtop&&!t.hasClass("fp-auto-height")||(o.activeSlide.length&&(n=o.activeSlide.data("anchor"),s=o.activeSlide.index()),Pe.isFunction(g.onLeave)&&!o.localIsResizing&&!1===g.onLeave.call(o.activeSection,o.leavingSection,o.sectionIndex+1,o.yMovement)||(Mt("parallax","apply",o),g.autoScrolling&&g.continuousVertical&&void 0!==o.isMovementUp&&(!o.isMovementUp&&"up"==o.yMovement||o.isMovementUp&&"down"==o.yMovement)&&((a=o).isMovementUp?a.activeSection.before(a.activeSection.nextAll(Xe)):a.activeSection.after(a.activeSection.prevAll(Xe).get().reverse()),Pt(Pe(We).position().top),D(),a.wrapAroundElements=a.activeSection,a.dtop=a.element.position().top,a.yMovement=dt(a.element),a.leavingSection=a.activeSection.index(Xe)+1,a.sectionIndex=a.element.index(Xe),Pe(ze).trigger("onContinuousVertical",[a]),o=a),Dt("scrollOverflowReset")&&Bt.scrollOverflowReset.setPrevious(o.activeSection),o.localIsResizing||$(o.activeSection),g.scrollOverflow&&g.scrollOverflowHandler.beforeLeave(),t.addClass($e).siblings().removeClass($e),L(t),g.scrollOverflow&&g.scrollOverflowHandler.onLeave(),Kt=!1,wt(s,n,o.anchorLink,o.sectionIndex),function(t){if(g.css3&&g.autoScrolling&&!g.scrollBar){var e="translate3d(0px, -"+Oe.round(t.dtop)+"px, 0px)";gt(e,!0),g.scrollingSpeed?(clearTimeout(ne),ne=setTimeout(function(){I(t)},g.scrollingSpeed)):I(t)}else{var i=(n=t,s={},g.autoScrolling&&!g.scrollBar?(s.options={top:-n.dtop},s.element=ze):(s.options={scrollTop:n.dtop},s.element="html, body"),s);Pe(i.element).animate(i.options,g.scrollingSpeed,g.easing).promise().done(function(){g.scrollBar?setTimeout(function(){I(t)},30):I(t)})}var n,s}(o),Yt=o.anchorLink,ut(o.anchorLink,(r=o).wrapAroundElements&&r.wrapAroundElements.length?r.isMovementUp?Pe(Xe).length-1:0:r.sectionIndex)))}var r,a}function I(t){var e;(e=t).wrapAroundElements&&e.wrapAroundElements.length&&(e.isMovementUp?Pe(".fp-section:first").before(e.wrapAroundElements):Pe(".fp-section:last").after(e.wrapAroundElements),Pt(Pe(We).position().top),D(),e.sectionIndex=e.element.index(Xe),e.leavingSection=e.activeSection.index(Xe)+1),Pe.isFunction(g.afterLoad)&&!t.localIsResizing&&g.afterLoad.call(t.element,t.anchorLink,t.sectionIndex+1),g.scrollOverflow&&g.scrollOverflowHandler.afterLoad(),Mt("parallax","afterLoad"),Dt("scrollOverflowReset")&&Bt.scrollOverflowReset.reset(),g.resetSliders&&Bt.resetSliders&&Bt.resetSliders.apply(t),t.localIsResizing||F(t.element),t.element.addClass(Ye).siblings().removeClass(Ye),Kt=!0,Pe.isFunction(t.callback)&&t.callback.call(this)}function R(t,e){t.attr(e,t.data(e)).removeAttr("data-"+e)}function L(t){var n;g.lazyLoading&&B(t).find("img[data-src], img[data-srcset], source[data-src], video[data-src], audio[data-src], iframe[data-src]").each(function(){if(n=Pe(this),Pe.each(["src","srcset"],function(t,e){var i=n.attr("data-"+e);void 0!==i&&i&&R(n,e)}),n.is("source")){var t=n.closest("video").length?"video":"audio";n.closest(t).get(0).load()}})}function F(t){var e=B(t);e.find("video, audio").each(function(){var t=Pe(this).get(0);t.hasAttribute("data-autoplay")&&"function"==typeof t.play&&t.play()}),e.find('iframe[src*="youtube.com/embed/"]').each(function(){var t=Pe(this).get(0);t.hasAttribute("data-autoplay")&&N(t),t.onload=function(){t.hasAttribute("data-autoplay")&&N(t)}})}function N(t){t.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function $(t){var e=B(t);e.find("video, audio").each(function(){var t=Pe(this).get(0);t.hasAttribute("data-keepplaying")||"function"!=typeof t.pause||t.pause()}),e.find('iframe[src*="youtube.com/embed/"]').each(function(){var t=Pe(this).get(0);/youtube\.com\/embed\//.test(Pe(this).attr("src"))&&!t.hasAttribute("data-keepplaying")&&Pe(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function B(t){var e=t.find(Qe);return e.length&&(t=Pe(e)),t}function Y(t){function n(t){var e,i,n,s,o,r,a="",l=0;for(t=t.replace(/[^A-Za-z0-9+\/=]/g,"");l>4,i=(15&s)<<4|(o=h.indexOf(t.charAt(l++)))>>2,n=(3&o)<<6|(r=h.indexOf(t.charAt(l++))),a+=String.fromCharCode(e),64!=o&&(a+=String.fromCharCode(i)),64!=r&&(a+=String.fromCharCode(n));return function(t){for(var e,i="",n=0,s=0,o=0;n").html(s).contents();H(t)||(e(),setInterval(e,2e3))}}function W(){var t=V(),e=t.section,i=t.slide;e&&(g.animateAnchor?_t(e,i):c(e,i))}function j(){if(!ge&&!g.lockAnchors){var t=V(),e=t.section,i=t.slide,n=void 0===Yt,s=void 0===Yt&&void 0===i&&!jt;e.length&&(e&&e!==Yt&&!n||s||!jt&&Ht!=i)&&_t(e,i)}}function V(){var t=Ee.location.hash,e=t.replace("#","").split("/"),i=-1Ce&&te.m.down&&h()),Ce=t.pageY}function nt(t,e,i){var n=t.closest(Xe),s={slides:t,destiny:e,direction:i,destinyPos:e.position(),slideIndex:e.index(),section:n,sectionIndex:n.index(Xe),anchorLink:n.data("anchor"),slidesNav:n.find(ni),slideAnchor:bt(e),prevSlide:n.find(Qe),prevSlideIndex:n.find(Qe).index(),localIsResizing:Gt};return s.xMovement=pt(s.prevSlideIndex,s.slideIndex),s.localIsResizing||(Kt=!1),Mt("parallax","applyHorizontal",s),g.onSlideLeave&&!s.localIsResizing&&"none"!==s.xMovement&&Pe.isFunction(g.onSlideLeave)&&!1===g.onSlideLeave.call(s.prevSlide,s.anchorLink,s.sectionIndex+1,s.prevSlideIndex,s.direction,s.slideIndex)?void(jt=!1):(e.addClass($e).siblings().removeClass($e),s.localIsResizing||($(s.prevSlide),L(e)),st(s),n.hasClass($e)&&!s.localIsResizing&&wt(s.slideIndex,s.slideAnchor,s.anchorLink,s.sectionIndex),Bt.continuousHorizontal&&Bt.continuousHorizontal.apply(s),void(It()?ot(s):rt(t,s,!0)))}function st(t){!g.loopHorizontal&&g.controlArrows&&(t.section.find(ai).toggle(0!==t.slideIndex),t.section.find(li).toggle(!t.destiny.is(":last-child")))}function ot(t){var e,i;Bt.continuousHorizontal&&Bt.continuousHorizontal.afterSlideLoads(t),e=t.slidesNav,i=t.slideIndex,e.find(Be).removeClass($e),e.find("li").eq(i).find("a").addClass($e),t.localIsResizing||(Mt("parallax","afterSlideLoads"),Pe.isFunction(g.afterSlideLoad)&&g.afterSlideLoad.call(t.destiny,t.anchorLink,t.sectionIndex+1,t.slideAnchor,t.slideIndex),Kt=!0,F(t.destiny)),jt=!1,Bt.interlockedSlides&&Bt.interlockedSlides.apply(t)}function rt(t,e,i){var n=e.destinyPos;if(g.css3){var s="translate3d(-"+Oe.round(n.left)+"px, 0px, 0px)";ht(t.find(ti)).css(Et(s)),se=setTimeout(function(){i&&ot(e)},g.scrollingSpeed,g.easing)}else t.animate({scrollLeft:Oe.round(n.left)},g.scrollingSpeed,g.easing,function(){i&&ot(e)})}function at(){if(Ut.trigger("onResize"),lt(),Vt){var t=Pe(Ae.activeElement);if(!t.is("textarea")&&!t.is("input")&&!t.is("select")){var e=hi.height();Oe.abs(e-ke)>20*Oe.max(ke,e)/100&&(f(!0),ke=e)}}else clearTimeout(ie),ie=setTimeout(function(){f(!0)},350)}function lt(){var t=g.responsive||g.responsiveWidth,e=g.responsiveHeight,i=t&&hi.outerWidth()')}function mt(t){var e=_(t);if(g.paddingTop||g.paddingBottom){var i=t;i.hasClass(He)||(i=t.closest(Xe)),e-=parseInt(i.css("padding-top"))+parseInt(i.css("padding-bottom"))}return e}function gt(t,e){e?ht(Ut):ct(Ut),clearTimeout(le),Ut.css(Et(t)),le=setTimeout(function(){Ut.removeClass(Re)},10)}function vt(t){if(!t)return[];var e=Ut.find(Xe+'[data-anchor="'+t+'"]');return e.length||(e=Pe(Xe).eq(t-1)),e}function _t(t,e){var i=vt(t);i.length&&(void 0===e&&(e=0),t===Yt||i.hasClass($e)?yt(i,e):z(i,function(){yt(i,e)}))}function yt(t,e){if(void 0!==e){var i=t.find(Ke),n=(s=e,o=t.find(Ke),(r=o.find(Ge+'[data-anchor="'+s+'"]')).length||(r=o.find(Ge).eq(s)),r);n.length&&nt(i,n)}var s,o,r}function wt(t,e,i,n){var s="";g.anchors.length&&!g.lockAnchors&&(t?(void 0!==i&&(s=i),void 0===e&&(e=t),xt(s+"/"+(Ht=e))):(void 0!==t&&(Ht=e),xt(i))),Tt()}function xt(t){if(g.recordHistory)location.hash=t;else if(Vt||qt)Ee.history.replaceState(De,De,"#"+t);else{var e=Ee.location.href.split("#")[0];Ee.location.replace(e+"#"+t)}}function bt(t){var e=t.data("anchor"),i=t.index();return void 0===e&&(e=i),e}function Tt(){var t=Pe(We),e=t.find(Qe),i=bt(t),n=bt(e),s=String(i);e.length&&(s=s+"-"+n),s=s.replace("/","-").replace("#","");var o=new RegExp("\\b\\s?"+Ne+"-[^\\s]+\\b","g");$t[0].className=$t[0].className.replace(o,""),$t.addClass(Ne+"-"+s)}function St(){return Ee.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}function Ct(t){var e=[];return e.y=void 0!==t.pageY&&(t.pageY||t.pageX)?t.pageY:t.touches[0].pageY,e.x=void 0!==t.pageX&&(t.pageY||t.pageX)?t.pageX:t.touches[0].pageX,qt&&k(t)&&g.scrollBar&&void 0!==t.touches&&(e.y=t.touches[0].pageY,e.x=t.touches[0].pageX),e}function kt(t,e){s(0,"internal"),void 0!==e&&(Gt=!0),nt(t.closest(Ke),t),void 0!==e&&(Gt=!1),s(pe.scrollingSpeed,"internal")}function Pt(t){var e=Oe.round(t);g.css3&&g.autoScrolling&&!g.scrollBar?gt("translate3d(0px, -"+e+"px, 0px)",!1):g.autoScrolling&&!g.scrollBar?Ut.css("top",-e):Nt.scrollTop(e)}function Et(t){return{"-webkit-transform":t,"-moz-transform":t,"-ms-transform":t,transform:t}}function At(i,t,n){"all"!==t?te[n][t]=i:Pe.each(Object.keys(te[n]),function(t,e){te[n][e]=i})}function Ot(t){return t.css({"-webkit-transition":"none",transition:"none"})}function Dt(t){return null!==g[t]&&"object"==typeof g[t]?g[t].enabled&&Bt[t]:g[t]&&Bt[t]}function Mt(t,e,i){if(Dt(t))return Bt[t][e](i)}function zt(){return Dt("dragAndMove")&&Bt.dragAndMove.isAnimating}function It(){return Dt("dragAndMove")&&Bt.dragAndMove.isGrabbing}function Rt(t,e,i){g[t]=e,"internal"!==i&&(pe[t]=e)}function Lt(){return Pe("html").hasClass(Fe)?void Ft("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(g.continuousVertical&&(g.loopTop||g.loopBottom)&&(g.continuousVertical=!1,Ft("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),g.scrollBar&&g.scrollOverflow&&Ft("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),!g.continuousVertical||!g.scrollBar&&g.autoScrolling||(g.continuousVertical=!1,Ft("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),g.scrollOverflow&&!g.scrollOverflowHandler&&(g.scrollOverflow=!1,Ft("error","The option `scrollOverflow:true` requires the file `scrolloverflow.min.js`. Please include it before fullPage.js.")),void Pe.each(g.anchors,function(t,e){var i=ci.find("[name]").filter(function(){return Pe(this).attr("name")&&Pe(this).attr("name").toLowerCase()==e.toLowerCase()}),n=ci.find("[id]").filter(function(){return Pe(this).attr("id")&&Pe(this).attr("id").toLowerCase()==e.toLowerCase()});(n.length||i.length)&&(Ft("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),n.length&&Ft("error",'"'+e+'" is is being used by another element `id` property'),i.length&&Ft("error",'"'+e+'" is is being used by another element `name` property'))}))}function Ft(t,e){console&&console[t]&&console[t]("fullPage: "+e)}if(Pe("html").hasClass(Fe))Lt();else{var Nt=Pe("html, body"),$t=Pe("body"),Bt=Pe.fn.fullpage;g=Pe.extend(!0,{menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:Pe.fn.fp_scrolloverflow?Pe.fn.fp_scrolloverflow.iscrollHandler:null,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},sectionSelector:".section",slideSelector:".slide",afterLoad:null,onLeave:null,afterRender:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},g);var Yt,Ht,Xt,Wt,jt=!1,Vt=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),qt="ontouchstart"in Ee||0
                      ');var t=Pe(qe);t.addClass(function(){return g.showActiveTooltip?"fp-show-active "+g.navigationPosition:g.navigationPosition});for(var e=0;e',s=g.navigationTooltips[e];void 0!==s&&""!==s&&(n+='
                      '+s+"
                      "),n+="",t.find("ul").append(n)}Pe(qe).css("margin-top","-"+Pe(qe).height()/2+"px"),Pe(qe).find("li").eq(Pe(We).index(Xe)).find("a").addClass($e)}(),Ut.find('iframe[src*="youtube.com/embed/"]').each(function(){var t,e,i;t=Pe(this),e="enablejsapi=1",i=t.attr("src"),t.attr("src",i+(/\?/.test(i)?"&":"?")+e)}),g.fadingEffect&&Bt.fadingEffect&&Bt.fadingEffect.apply(),g.scrollOverflow?ee=g.scrollOverflowHandler.init(g):y(),r(!0),i(g.autoScrolling,"internal"),lt(),Tt(),"complete"===Ae.readyState&&W(),hi.on("load",W),hi.on("scroll",w).on("hashchange",j).blur(J).resize(at),ci.keydown(q).keyup(Z).on("click touchstart",qe+" a",tt).on("click touchstart",si,et).on("click",".fp-tooltip",U),Pe(Xe).on("click touchstart",oi,K),g.normalScrollElements&&(ci.on("mouseenter touchstart",g.normalScrollElements,function(){r(!1)}),ci.on("mouseleave touchend",g.normalScrollElements,function(){r(!0)})),Dt("dragAndMove")&&Bt.dragAndMove.turnOffTouch());var me,ge=!1,ve=0,_e=0,ye=0,we=0,xe=0;me=Ee.requestAnimationFrame||Ee.mozRequestAnimationFrame||Ee.webkitRequestAnimationFrame||Ee.msRequestAnimationFrame,Ee.requestAnimationFrame=me;var be=(new Date).getTime(),Te=!1,Se=0,Ce=0,ke=Zt}}});